#C8D23B#C8D23B

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

Color values

HEX#C8D23B
RGBrgb(200, 210, 59)
HSLhsl(64, 63%, 53%)
HSVhsv(64, 72%, 82%)
CMYKcmyk(4.8%, 0%, 71.9%, 17.6%)
CIE-LABlab(81.12, -21.40, 69.08)
CIE-LCHlch(81.12, 72.32, 107.21°)
OKLaboklab(82.99% -0.0658 0.1529)
OKLCHoklch(82.99% 0.166 113.3)
XYZxyz(47.6569, 58.6893, 12.9545)
Luminance0.5869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D23B #453BD2
analogous
#D2913B #C8D23B #7CD23B
triadic
#C8D23B #3BC8D2 #D23BC8
tetradic
#C8D23B #3BD291 #453BD2 #D23B7C
square
#C8D23B #3BD291 #453BD2 #D23B7C
split-complementary
#C8D23B #3B7CD2 #913BD2
monochromatic
#71771B #A0A927 #C8D23B #D6DD6D #E4E99F

Accessibility & contrast

On white

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

On black

12.74
#C8D23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D23B
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D23B#FFFFFF#000000##000000
##C8D23B1.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C81E
Deuteranopia (green-blind)
#E2CB47
Tritanopia (blue-blind)
#D5C5B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c8d23b;
/* rgb */ color: rgb(200, 210, 59);
/* oklch */ color: oklch(83.0% 0.166 113.3);
Tailwind
colors: {
  custom: {
    50: '#dcdf7b',
    500: '#c8d23b',
    950: '#000000',
  },
}
SCSS
$custom: #c8d23b;
$custom-light: #dcdf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d23b",
  "rgb": {
    "r": 200,
    "g": 210,
    "b": 59
  },
  "hsl": {
    "h": 63.974,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.8299,
    "c": 0.16644,
    "h": 113.3
  },
  "luminance": 0.58688
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8D23B

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

Preview Lab → · Contrast checker → · Palette generator →

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