#C9BF42#C9BF42

#C9BF42 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.0% C 0.143 H 104.7°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#C9BF42
RGBrgb(201, 191, 66)
HSLhsl(56, 56%, 52%)
HSVhsv(56, 67%, 79%)
CMYKcmyk(0%, 5%, 67.2%, 21.2%)
CIE-LABlab(76.11, -11.13, 61.57)
CIE-LCHlch(76.11, 62.57, 100.24°)
OKLaboklab(79.03% -0.0363 0.1382)
OKLCHoklch(79.03% 0.143 104.7)
XYZxyz(43.7033, 50.0741, 12.5164)
Luminance0.5007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BF42 #424CC9
analogous
#C97C42 #C9BF42 #8FC942
triadic
#C9BF42 #42C9BF #BF42C9
tetradic
#C9BF42 #42C97C #424CC9 #C9428F
square
#C9BF42 #42C97C #424CC9 #C9428F
split-complementary
#C9BF42 #428FC9 #7C42C9
monochromatic
#706B20 #A0982E #C9BF42 #D7CF72 #E4DFA1

Accessibility & contrast

On white

1.91
#C9BF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#C9BF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BF42
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BF42#FFFFFF#000000##000000
##C9BF421.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB830
Deuteranopia (green-blind)
#D3BE4A
Tritanopia (blue-blind)
#D8B2A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c9bf42;
/* rgb */ color: rgb(201, 191, 66);
/* oklch */ color: oklch(79.0% 0.143 104.7);
Tailwind
colors: {
  custom: {
    50: '#ddd27d',
    500: '#c9bf42',
    950: '#000000',
  },
}
SCSS
$custom: #c9bf42;
$custom-light: #ddd27d;
$custom-dark: #000000;
JSON
{
  "hex": "#c9bf42",
  "rgb": {
    "r": 201,
    "g": 191,
    "b": 66
  },
  "hsl": {
    "h": 55.556,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79027,
    "c": 0.14289,
    "h": 104.7
  },
  "luminance": 0.50072
}

Semantic roles & 50–950 ramp

primary
#C9BF42
secondary
#363B7A
accent
#54DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C9BF42

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

Preview Lab → · Contrast checker → · Palette generator →

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