#C9BE2F#C9BE2F

#C9BE2F is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.7% C 0.154 H 104.8°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#C9BE2F
RGBrgb(201, 190, 47)
HSLhsl(56, 62%, 49%)
HSVhsv(56, 77%, 79%)
CMYKcmyk(0%, 5.5%, 76.6%, 21.2%)
CIE-LABlab(75.73, -11.51, 68.02)
CIE-LCHlch(75.73, 68.99, 99.60°)
OKLaboklab(78.69% -0.0393 0.1484)
OKLCHoklch(78.69% 0.154 104.8)
XYZxyz(43.0158, 49.4514, 9.9680)
Luminance0.4945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BE2F #2F3AC9
analogous
#C9712F #C9BE2F #87C92F
triadic
#C9BE2F #2FC9BE #BE2FC9
tetradic
#C9BE2F #2FC971 #2F3AC9 #C92F87
square
#C9BE2F #2FC971 #2F3AC9 #C92F87
split-complementary
#C9BE2F #2F87C9 #712FC9
monochromatic
#666018 #978F23 #C9BE2F #D9D05C #E5DE8E

Accessibility & contrast

On white

1.93
#C9BE2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#C9BE2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BE2F
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BE2F#FFFFFF#000000##000000
##C9BE2F1.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB709
Deuteranopia (green-blind)
#D3BD3A
Tritanopia (blue-blind)
#D8B1A3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c9be2f;
/* rgb */ color: rgb(201, 190, 47);
/* oklch */ color: oklch(78.7% 0.154 104.8);
Tailwind
colors: {
  custom: {
    50: '#ddd173',
    500: '#c9be2f',
    950: '#000000',
  },
}
SCSS
$custom: #c9be2f;
$custom-light: #ddd173;
$custom-dark: #000000;
JSON
{
  "hex": "#c9be2f",
  "rgb": {
    "r": 201,
    "g": 190,
    "b": 47
  },
  "hsl": {
    "h": 55.714,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.78685,
    "c": 0.15355,
    "h": 104.8
  },
  "luminance": 0.4945
}

Semantic roles & 50–950 ramp

primary
#C9BE2F
secondary
#858ACF
accent
#4EE543
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161409
muted
#84827B

Preview Lab

Preview with #C9BE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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