Skip to content

#c2df5a

a balanced, vivid green · warm · closest name: Yellow Green

RGB
194, 223, 90
HSL
73°, 68%, 61%
CMYK
13, 0, 60, 13
Luminance
0.6498

At a glance

Every number on this page in one read: what #c2df5a is made of, how bright it looks, and which way it leans.

Hex
#c2df5a
Hue
73°
green
Saturation
68%
vivid
Lightness
61%
balanced
Brightness
87%
HSV value
Perceived
80%
weighted brightness
Luminance
0.6498
WCAG relative
Temperature
Warm
36/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
14.00:1
Closest name
Yellow Green
ΔE2000 6.6
Where it sits
Hue73° of 360°
Saturation68%
Lightness61%
Temperature
Warm ← → Cool36% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#c2df5a
RGBrgb(194, 223, 90)
HSLhsl(73, 68%, 61%)
CMYKcmyk(13%, 0%, 60%, 13%)
LABlab(84.5 -28.2 60.4)
LCHlch(84.5 66.6 115.0)
OKLCHoklch(0.857 0.161 120.3)
Decimal12771162
Display P3color(display-p3 0.761 0.875 0.353)

Copy-ready code

/* CSS */
color: #c2df5a;
background-color: #c2df5a;
/* Tailwind (arbitrary) */
class="text-[#c2df5a] bg-[#c2df5a]"
/* SCSS */
$brand: #c2df5a;
/* SwiftUI */
Color(red: 0.761, green: 0.875, blue: 0.353)
/* Android */
Color.parseColor("#c2df5a")
/* Flutter */
Color(0xFFC2DF5A)
/* Python / OpenCV (BGR) */
(90, 223, 194)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #c2df5a · 14.00:1
Use #000000AAA at every size.
Aa
White text · 1.50:1
AA fail · AA large fail · AAA fail
Aa
Black text · 14.00:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #c2df5a as text scores 1.50:1 on white and 14.00:1 on black.

Accessibility — WCAG contrast

Aa
#c2df5a on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#c2df5a on black: 14.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #ECD34B
deuteranopia · #E8D363
tritanopia · #CCD4C3

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #c2df5a is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAFBF3
#F4F8E8
#E9F2CA
#DCEDA1
#CBE472
#c2df5a
#A9CD28
#8DAB21
#71891B
#536317
#343E0E
Base = 500Lightest = 50 · #FAFBF3Darkest = 950 · #343E0E
:root {
  --brand-50: #FAFBF3;
  --brand-100: #F4F8E8;
  --brand-200: #E9F2CA;
  --brand-300: #DCEDA1;
  --brand-400: #CBE472;
  --brand-500: #c2df5a;
  --brand-600: #A9CD28;
  --brand-700: #8DAB21;
  --brand-800: #71891B;
  --brand-900: #536317;
  --brand-950: #343E0E;
  --brand: #c2df5a;
  --brand-ink: #000000;
}

Colors that work with #c2df5a

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F9FAF4
Tinted page background
Border#E3EDC0
Hairlines and dividers
Muted text#899B4B
Captions on the surface
Accent#565BE3
Second voice, not a rival
Dark variant#586B15
Hover, pressed, headers
Light variant#F7FBEA
Selected rows, tints
Dark surface#212414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #c2df5a

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#775ADF
Analogous left#DFBA5A
Analogous right#80DF5A
Split-complement 1#5A80DF
Split-complement 2#BA5ADF
Triadic 1#5AC2DF
Triadic 2#DF5AC2
Tetradic#5ADFBA

RGB percentages

Red76.1%
Green87.5%
Blue35.3%

CMYK percentages

Cyan13.0%
Magenta0.0%
Yellow59.6%
Key (black)12.5%

Color previews

#c2df5a text on a black background

contrast 14.00:1

Card sample

#c2df5a text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #c2df5a;
Background color
Panel with #c2df5a background
background-color: #c2df5a;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #c2df5a;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(194, 223, 90, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 223, 90, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2df5a;
background: linear-gradient(135deg, #c2df5a, #69DF5A);

Monochromatic scale

Palettes built from #c2df5a

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#c2df5a in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#c2df5a, answered

What color is #c2df5a?

#c2df5a is a balanced vivid green, closest to Yellow Green (ΔE2000 6.6). It sits at 73° on the hue wheel with 68% saturation and 61% lightness, which reads as warm.

What is the RGB value of #c2df5a?

rgb(194, 223, 90) — 194 red, 223 green and 90 blue out of 255, or 76.1% / 87.5% / 35.3% by channel.

Is #c2df5a a light or a dark color?

It is a light color. Relative luminance is 0.6498 and perceived brightness is 80%, so black text on it reaches 14.00:1.

Should I use black or white text on #c2df5a?

Black. It scores 14.00:1 against #c2df5a, versus 1.50:1 for white — AAA at any size.

What is the complementary color of #c2df5a?

#775ADF sits directly opposite on the wheel. Softer options are the split-complements #5A80DF and #BA5ADF, which give the same contrast with far less vibration.

What colors go well with #c2df5a?

For interface work: #F9FAF4 as the surface, #E3EDC0 for borders, #899B4B for secondary text, #565BE3 as an accent and #586B15 for hover and pressed states. For a palette, the analogous pair #DFBA5A and #80DF5A stays calm, while #775ADF is the loudest partner.

What is #c2df5a in CMYK for printing?

cmyk(13%, 0%, 60%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #c2df5a warm or cool?

Warm — it scores 36 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DFCB5A; nudged cooler, #91E158.

Work with #c2df5a in the Color Lab