#C9BE2E#C9BE2E

#C9BE2E 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#C9BE2E
RGBrgb(201, 190, 46)
HSLhsl(56, 63%, 48%)
HSVhsv(56, 77%, 79%)
CMYKcmyk(0%, 5.5%, 77.1%, 21.2%)
CIE-LABlab(75.73, -11.55, 68.33)
CIE-LCHlch(75.73, 69.30, 99.59°)
OKLaboklab(78.68% -0.0395 0.1489)
OKLCHoklch(78.68% 0.154 104.8)
XYZxyz(42.9959, 49.4434, 9.8630)
Luminance0.4944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BE2E #2E39C9
analogous
#C9702E #C9BE2E #86C92E
triadic
#C9BE2E #2EC9BE #BE2EC9
tetradic
#C9BE2E #2EC970 #2E39C9 #C92E86
square
#C9BE2E #2EC970 #2E39C9 #C92E86
split-complementary
#C9BE2E #2E86C9 #702EC9
monochromatic
#656017 #978F23 #C9BE2E #D9D05B #E5DF8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9BE2E#FFFFFF#000000##000000
##C9BE2E1.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)
#CFB706
Deuteranopia (green-blind)
#D3BD3A
Tritanopia (blue-blind)
#D8B1A3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c9be2e;
/* rgb */ color: rgb(201, 190, 46);
/* oklch */ color: oklch(78.7% 0.154 104.8);
Tailwind
colors: {
  custom: {
    50: '#ddd173',
    500: '#c9be2e',
    950: '#000000',
  },
}
SCSS
$custom: #c9be2e;
$custom-light: #ddd173;
$custom-dark: #000000;
JSON
{
  "hex": "#c9be2e",
  "rgb": {
    "r": 201,
    "g": 190,
    "b": 46
  },
  "hsl": {
    "h": 55.742,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.78679,
    "c": 0.15406,
    "h": 104.8
  },
  "luminance": 0.49442
}

Semantic roles & 50–950 ramp

primary
#C9BE2E
secondary
#8489CF
accent
#4EE642
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161409
muted
#84827B

Preview Lab

Preview with #C9BE2E

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

Preview Lab → · Contrast checker → · Palette generator →

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