#C2D74B#C2D74B

#C2D74B is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 83.7% C 0.163 H 117.4°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#C2D74B
RGBrgb(194, 215, 75)
HSLhsl(69, 64%, 57%)
HSVhsv(69, 65%, 84%)
CMYKcmyk(9.8%, 0%, 65.1%, 15.7%)
CIE-LABlab(82.15, -25.40, 64.06)
CIE-LCHlch(82.15, 68.91, 111.62°)
OKLaboklab(83.74% -0.0751 0.145)
OKLCHoklch(83.74% 0.163 117.4)
XYZxyz(47.8196, 60.5787, 15.8290)
Luminance0.6058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D74B #604BD7
analogous
#D7A64B #C2D74B #7CD74B
triadic
#C2D74B #4BC2D7 #D74BC2
tetradic
#C2D74B #4BD7A6 #604BD7 #D74B7C
square
#C2D74B #4BD7A6 #604BD7 #D74B7C
split-complementary
#C2D74B #4B7CD7 #A64BD7
monochromatic
#79891E #A5BB2A #C2D74B #D3E27D #E4EDAF

Accessibility & contrast

On white

1.60
#C2D74B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.12
#C2D74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D74B
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D74B#FFFFFF#000000##000000
##C2D74B1.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC38
Deuteranopia (green-blind)
#E3CD55
Tritanopia (blue-blind)
#CDCCBA
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c2d74b;
/* rgb */ color: rgb(194, 215, 75);
/* oklch */ color: oklch(83.7% 0.163 117.4);
Tailwind
colors: {
  custom: {
    50: '#d7e384',
    500: '#c2d74b',
    950: '#000000',
  },
}
SCSS
$custom: #c2d74b;
$custom-light: #d7e384;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d74b",
  "rgb": {
    "r": 194,
    "g": 215,
    "b": 75
  },
  "hsl": {
    "h": 69,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83741,
    "c": 0.1633,
    "h": 117.4
  },
  "luminance": 0.60578
}

Semantic roles & 50–950 ramp

primary
#C2D74B
secondary
#44378F
accent
#41E75A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2D74B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C2D74B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva