#C7D13B#C7D13B

#C7D13B is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 82.7% C 0.166 H 113.3°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#C7D13B
RGBrgb(199, 209, 59)
HSLhsl(64, 62%, 53%)
HSVhsv(64, 72%, 82%)
CMYKcmyk(4.8%, 0%, 71.8%, 18%)
CIE-LABlab(80.77, -21.33, 68.72)
CIE-LCHlch(80.77, 71.95, 107.24°)
OKLaboklab(82.69% -0.0655 0.1522)
OKLCHoklch(82.69% 0.166 113.3)
XYZxyz(47.1445, 58.0598, 12.8600)
Luminance0.5806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D13B #453BD1
analogous
#D1903B #C7D13B #7CD13B
triadic
#C7D13B #3BC7D1 #D13BC7
tetradic
#C7D13B #3BD190 #453BD1 #D13B7C
square
#C7D13B #3BD190 #453BD1 #D13B7C
split-complementary
#C7D13B #3B7CD1 #903BD1
monochromatic
#70761C #9FA727 #C7D13B #D5DD6D #E3E89E

Accessibility & contrast

On white

1.67
#C7D13B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#C7D13B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D13B
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D13B#FFFFFF#000000##000000
##C7D13B1.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C71E
Deuteranopia (green-blind)
#E0CA47
Tritanopia (blue-blind)
#D4C4B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c7d13b;
/* rgb */ color: rgb(199, 209, 59);
/* oklch */ color: oklch(82.7% 0.166 113.3);
Tailwind
colors: {
  custom: {
    50: '#dcde7b',
    500: '#c7d13b',
    950: '#000000',
  },
}
SCSS
$custom: #c7d13b;
$custom-light: #dcde7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d13b",
  "rgb": {
    "r": 199,
    "g": 209,
    "b": 59
  },
  "hsl": {
    "h": 64,
    "s": 61.983,
    "l": 52.549
  },
  "oklch": {
    "l": 0.82692,
    "c": 0.16566,
    "h": 113.3
  },
  "luminance": 0.58059
}

Semantic roles & 50–950 ramp

primary
#C7D13B
secondary
#37327E
accent
#43E54E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7D13B

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

Preview Lab → · Contrast checker → · Palette generator →

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