#C7D23B#C7D23B

#C7D23B is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 82.9% C 0.167 H 113.7°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#C7D23B
RGBrgb(199, 210, 59)
HSLhsl(64, 63%, 53%)
HSVhsv(64, 72%, 82%)
CMYKcmyk(5.2%, 0%, 71.9%, 17.6%)
CIE-LABlab(81.04, -21.82, 68.98)
CIE-LCHlch(81.04, 72.35, 107.55°)
OKLaboklab(82.91% -0.0669 0.1527)
OKLCHoklch(82.91% 0.167 113.7)
XYZxyz(47.3906, 58.5520, 12.9420)
Luminance0.5855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D23B #463BD2
analogous
#D2923B #C7D23B #7BD23B
triadic
#C7D23B #3BC7D2 #D23BC7
tetradic
#C7D23B #3BD292 #463BD2 #D23B7B
square
#C7D23B #3BD292 #463BD2 #D23B7B
split-complementary
#C7D23B #3B7BD2 #923BD2
monochromatic
#71771B #A0A927 #C7D23B #D5DD6D #E3E99F

Accessibility & contrast

On white

1.65
#C7D23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#C7D23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D23B
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D23B#FFFFFF#000000##000000
##C7D23B1.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C81E
Deuteranopia (green-blind)
#E1CB47
Tritanopia (blue-blind)
#D4C6B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c7d23b;
/* rgb */ color: rgb(199, 210, 59);
/* oklch */ color: oklch(82.9% 0.167 113.7);
Tailwind
colors: {
  custom: {
    50: '#dcdf7b',
    500: '#c7d23b',
    950: '#000000',
  },
}
SCSS
$custom: #c7d23b;
$custom-light: #dcdf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d23b",
  "rgb": {
    "r": 199,
    "g": 210,
    "b": 59
  },
  "hsl": {
    "h": 64.371,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.82911,
    "c": 0.16671,
    "h": 113.7
  },
  "luminance": 0.58551
}

Semantic roles & 50–950 ramp

primary
#C7D23B
secondary
#37327F
accent
#42E64E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7D23B

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

Preview Lab → · Contrast checker → · Palette generator →

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