#C9BF5A#C9BF5A

#C9BF5A is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.3% C 0.123 H 103.7°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#C9BF5A
RGBrgb(201, 191, 90)
HSLhsl(55, 51%, 57%)
HSVhsv(55, 55%, 79%)
CMYKcmyk(0%, 5%, 55.2%, 21.2%)
CIE-LABlab(76.33, -9.52, 51.37)
CIE-LCHlch(76.33, 52.25, 100.50°)
OKLaboklab(79.26% -0.0291 0.1198)
OKLCHoklch(79.26% 0.123 103.7)
XYZxyz(44.5651, 50.4188, 17.0552)
Luminance0.5042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BF5A #5A64C9
analogous
#C9885A #C9BF5A #9BC95A
triadic
#C9BF5A #5AC9BF #BF5AC9
tetradic
#C9BF5A #5AC988 #5A64C9 #C95A9B
square
#C9BF5A #5AC988 #5A64C9 #C95A9B
split-complementary
#C9BF5A #5A9BC9 #885AC9
monochromatic
#7F772A #ADA339 #C9BF5A #D8D188 #E7E3B6

Accessibility & contrast

On white

1.89
#C9BF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.08
#C9BF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BF5A
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BF5A#FFFFFF#000000##000000
##C9BF5A1.001.8911.0811.08
#FFFFFF1.891.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB950
Deuteranopia (green-blind)
#D1BF5F
Tritanopia (blue-blind)
#D6B4A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c9bf5a;
/* rgb */ color: rgb(201, 191, 90);
/* oklch */ color: oklch(79.3% 0.123 103.7);
Tailwind
colors: {
  custom: {
    50: '#dcd28c',
    500: '#c9bf5a',
    950: '#000000',
  },
}
SCSS
$custom: #c9bf5a;
$custom-light: #dcd28c;
$custom-dark: #000000;
JSON
{
  "hex": "#c9bf5a",
  "rgb": {
    "r": 201,
    "g": 191,
    "b": 90
  },
  "hsl": {
    "h": 54.595,
    "s": 50.685,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79263,
    "c": 0.12329,
    "h": 103.7
  },
  "luminance": 0.50417
}

Semantic roles & 50–950 ramp

primary
#C9BF5A
secondary
#404787
accent
#5ADA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C9BF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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