#C9BA2F#C9BA2F

#C9BA2F is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.8% C 0.150 H 102.9°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#C9BA2F
RGBrgb(201, 186, 47)
HSLhsl(54, 62%, 49%)
HSVhsv(54, 77%, 79%)
CMYKcmyk(0%, 7.5%, 76.6%, 21.2%)
CIE-LABlab(74.66, -9.46, 67.04)
CIE-LCHlch(74.66, 67.71, 98.03°)
OKLaboklab(77.83% -0.0335 0.1464)
OKLCHoklch(77.83% 0.15 102.9)
XYZxyz(42.1613, 47.7424, 9.6832)
Luminance0.4774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BA2F #2F3EC9
analogous
#C96D2F #C9BA2F #8BC92F
triadic
#C9BA2F #2FC9BA #BA2FC9
tetradic
#C9BA2F #2FC96D #2F3EC9 #C92F8B
square
#C9BA2F #2FC96D #2F3EC9 #C92F8B
split-complementary
#C9BA2F #2F8BC9 #6D2FC9
monochromatic
#665E18 #978C23 #C9BA2F #D9CD5C #E5DC8E

Accessibility & contrast

On white

1.99
#C9BA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#C9BA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BA2F
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BA2F#FFFFFF#000000##000000
##C9BA2F1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB40D
Deuteranopia (green-blind)
#D0BB3A
Tritanopia (blue-blind)
#D9ADA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c9ba2f;
/* rgb */ color: rgb(201, 186, 47);
/* oklch */ color: oklch(77.8% 0.150 102.9);
Tailwind
colors: {
  custom: {
    50: '#ddce73',
    500: '#c9ba2f',
    950: '#000000',
  },
}
SCSS
$custom: #c9ba2f;
$custom-light: #ddce73;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ba2f",
  "rgb": {
    "r": 201,
    "g": 186,
    "b": 47
  },
  "hsl": {
    "h": 54.156,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.77834,
    "c": 0.15015,
    "h": 102.9
  },
  "luminance": 0.47741
}

Semantic roles & 50–950 ramp

primary
#C9BA2F
secondary
#858CCF
accent
#52E543
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C9BA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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