#C9C239#C9C239

#C9C239 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.6% C 0.152 H 106.4°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#C9C239
RGBrgb(201, 194, 57)
HSLhsl(57, 57%, 51%)
HSVhsv(57, 72%, 79%)
CMYKcmyk(0%, 3.5%, 71.6%, 21.2%)
CIE-LABlab(76.86, -13.12, 65.71)
CIE-LCHlch(76.86, 67.00, 101.29°)
OKLaboklab(79.6% -0.0429 0.1454)
OKLCHoklch(79.6% 0.152 106.4)
XYZxyz(44.1194, 51.2981, 11.4476)
Luminance0.5130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C239 #3940C9
analogous
#C97A39 #C9C239 #88C939
triadic
#C9C239 #39C9C2 #C239C9
tetradic
#C9C239 #39C97A #3940C9 #C93988
square
#C9C239 #39C97A #3940C9 #C93988
split-complementary
#C9C239 #3988C9 #7A39C9
monochromatic
#6B671D #9B952A #C9C239 #D6D169 #E3E099

Accessibility & contrast

On white

1.87
#C9C239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#C9C239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C239
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C239#FFFFFF#000000##000000
##C9C2391.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB20
Deuteranopia (green-blind)
#D6C043
Tritanopia (blue-blind)
#D8B5A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c9c239;
/* rgb */ color: rgb(201, 194, 57);
/* oklch */ color: oklch(79.6% 0.152 106.4);
Tailwind
colors: {
  custom: {
    50: '#ddd479',
    500: '#c9c239',
    950: '#000000',
  },
}
SCSS
$custom: #c9c239;
$custom-light: #ddd479;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c239",
  "rgb": {
    "r": 201,
    "g": 194,
    "b": 57
  },
  "hsl": {
    "h": 57.083,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.79601,
    "c": 0.15156,
    "h": 106.4
  },
  "luminance": 0.51296
}

Semantic roles & 50–950 ramp

primary
#C9C239
secondary
#323574
accent
#4FE047
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#16140A
muted
#84837D

Preview Lab

Preview with #C9C239

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

Preview Lab → · Contrast checker → · Palette generator →

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