#C7D45B#C7D45B

#C7D45B is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.6% C 0.146 H 114.7°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#C7D45B
RGBrgb(199, 212, 91)
HSLhsl(66, 58%, 59%)
HSVhsv(66, 57%, 83%)
CMYKcmyk(6.1%, 0%, 57.1%, 16.9%)
CIE-LABlab(81.83, -20.80, 57.12)
CIE-LCHlch(81.83, 60.79, 110.01°)
OKLaboklab(83.62% -0.0609 0.1323)
OKLCHoklch(83.62% 0.146 114.7)
XYZxyz(48.9860, 59.9852, 18.8933)
Luminance0.5998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D45B #685BD4
analogous
#D4A45B #C7D45B #8BD45B
triadic
#C7D45B #5BC7D4 #D45BC7
tetradic
#C7D45B #5BD4A4 #685BD4 #D45B8B
square
#C7D45B #5BD4A4 #685BD4 #D45B8B
split-complementary
#C7D45B #5B8BD4 #A45BD4
monochromatic
#848F26 #B0C032 #C7D45B #D8E18B #E8EDBC

Accessibility & contrast

On white

1.62
#C7D45B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.00
#C7D45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D45B
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D45B#FFFFFF#000000##000000
##C7D45B1.001.6213.0013.00
#FFFFFF1.621.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA4E
Deuteranopia (green-blind)
#E1CD62
Tritanopia (blue-blind)
#D2C9BA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c7d45b;
/* rgb */ color: rgb(199, 212, 91);
/* oklch */ color: oklch(83.6% 0.146 114.7);
Tailwind
colors: {
  custom: {
    50: '#dae18e',
    500: '#c7d45b',
    950: '#000000',
  },
}
SCSS
$custom: #c7d45b;
$custom-light: #dae18e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d45b",
  "rgb": {
    "r": 199,
    "g": 212,
    "b": 91
  },
  "hsl": {
    "h": 66.446,
    "s": 58.454,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83617,
    "c": 0.14563,
    "h": 114.7
  },
  "luminance": 0.59984
}

Semantic roles & 50–950 ramp

primary
#C7D45B
secondary
#483E95
accent
#46E257
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D45B

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

Preview Lab → · Contrast checker → · Palette generator →

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