#C9CB40#C9CB40

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

Color values

HEX#C9CB40
RGBrgb(201, 203, 64)
HSLhsl(61, 57%, 52%)
HSVhsv(61, 68%, 80%)
CMYKcmyk(1%, 0%, 68.5%, 20.4%)
CIE-LABlab(79.33, -17.29, 65.58)
CIE-LCHlch(79.33, 67.82, 104.77°)
OKLaboklab(81.59% -0.0539 0.1463)
OKLCHoklch(81.59% 0.156 110.2)
XYZxyz(46.3703, 55.5008, 13.1196)
Luminance0.5550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CB40 #4240CB
analogous
#CB8740 #C9CB40 #84CB40
triadic
#C9CB40 #40C9CB #CB40C9
tetradic
#C9CB40 #40CB87 #4240CB #CB4084
square
#C9CB40 #40CB87 #4240CB #CB4084
split-complementary
#C9CB40 #4084CB #8740CB
monochromatic
#70721F #A0A22C #C9CB40 #D7D870 #E4E5A0

Accessibility & contrast

On white

1.74
#C9CB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9CB40#FFFFFF#000000##000000
##C9CB401.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC22A
Deuteranopia (green-blind)
#DCC64A
Tritanopia (blue-blind)
#D7BEAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c9cb40;
/* rgb */ color: rgb(201, 203, 64);
/* oklch */ color: oklch(81.6% 0.156 110.2);
Tailwind
colors: {
  custom: {
    50: '#ddda7d',
    500: '#c9cb40',
    950: '#000000',
  },
}
SCSS
$custom: #c9cb40;
$custom-light: #ddda7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c9cb40",
  "rgb": {
    "r": 201,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 60.863,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81586,
    "c": 0.15591,
    "h": 110.2
  },
  "luminance": 0.555
}

Semantic roles & 50–950 ramp

primary
#C9CB40
secondary
#36357B
accent
#47E04A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #C9CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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