#C9CB42#C9CB42

#C9CB42 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.6% C 0.155 H 110.2°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#C9CB42
RGBrgb(201, 203, 66)
HSLhsl(61, 57%, 53%)
HSVhsv(61, 67%, 80%)
CMYKcmyk(1%, 0%, 67.5%, 20.4%)
CIE-LABlab(79.34, -17.18, 64.84)
CIE-LCHlch(79.34, 67.08, 104.84°)
OKLaboklab(81.6% -0.0534 0.1451)
OKLCHoklch(81.6% 0.155 110.2)
XYZxyz(46.4282, 55.5240, 13.4247)
Luminance0.5552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CB42 #4442CB
analogous
#CB8842 #C9CB42 #84CB42
triadic
#C9CB42 #42C9CB #CB42C9
tetradic
#C9CB42 #42CB88 #4442CB #CB4284
square
#C9CB42 #42CB88 #4442CB #CB4284
split-complementary
#C9CB42 #4284CB #8842CB
monochromatic
#727320 #A1A32D #C9CB42 #D7D872 #E4E5A2

Accessibility & contrast

On white

1.73
#C9CB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#C9CB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9CB42
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9CB42#FFFFFF#000000##000000
##C9CB421.001.7312.1012.10
#FFFFFF1.731.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC22D
Deuteranopia (green-blind)
#DCC64C
Tritanopia (blue-blind)
#D7BFB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c9cb42;
/* rgb */ color: rgb(201, 203, 66);
/* oklch */ color: oklch(81.6% 0.155 110.2);
Tailwind
colors: {
  custom: {
    50: '#ddda7e',
    500: '#c9cb42',
    950: '#000000',
  },
}
SCSS
$custom: #c9cb42;
$custom-light: #ddda7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c9cb42",
  "rgb": {
    "r": 201,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 60.876,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81601,
    "c": 0.15459,
    "h": 110.2
  },
  "luminance": 0.55523
}

Semantic roles & 50–950 ramp

primary
#C9CB42
secondary
#36357C
accent
#48E04A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C9CB42

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

Preview Lab → · Contrast checker → · Palette generator →

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