#C9BE42#C9BE42

#C9BE42 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.8% C 0.142 H 104.2°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#C9BE42
RGBrgb(201, 190, 66)
HSLhsl(55, 56%, 52%)
HSVhsv(55, 67%, 79%)
CMYKcmyk(0%, 5.5%, 67.2%, 21.2%)
CIE-LABlab(75.85, -10.62, 61.30)
CIE-LCHlch(75.85, 62.21, 99.83°)
OKLaboklab(78.81% -0.0349 0.1376)
OKLCHoklch(78.81% 0.142 104.2)
XYZxyz(43.4859, 49.6394, 12.4439)
Luminance0.4964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BE42 #424DC9
analogous
#C97A42 #C9BE42 #91C942
triadic
#C9BE42 #42C9BE #BE42C9
tetradic
#C9BE42 #42C97A #424DC9 #C94291
square
#C9BE42 #42C97A #424DC9 #C94291
split-complementary
#C9BE42 #4291C9 #7A42C9
monochromatic
#706A20 #A0972E #C9BE42 #D7CE72 #E4DFA1

Accessibility & contrast

On white

1.92
#C9BE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#C9BE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BE42
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BE42#FFFFFF#000000##000000
##C9BE421.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB831
Deuteranopia (green-blind)
#D2BE4A
Tritanopia (blue-blind)
#D8B1A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c9be42;
/* rgb */ color: rgb(201, 190, 66);
/* oklch */ color: oklch(78.8% 0.142 104.2);
Tailwind
colors: {
  custom: {
    50: '#ddd17d',
    500: '#c9be42',
    950: '#000000',
  },
}
SCSS
$custom: #c9be42;
$custom-light: #ddd17d;
$custom-dark: #000000;
JSON
{
  "hex": "#c9be42",
  "rgb": {
    "r": 201,
    "g": 190,
    "b": 66
  },
  "hsl": {
    "h": 55.111,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78814,
    "c": 0.14197,
    "h": 104.2
  },
  "luminance": 0.49638
}

Semantic roles & 50–950 ramp

primary
#C9BE42
secondary
#969BD1
accent
#55DF49
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#15140A
muted
#84827C

Preview Lab

Preview with #C9BE42

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

Preview Lab → · Contrast checker → · Palette generator →

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