#CFBF59#CFBF59

#CFBF59 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.8% C 0.124 H 100.5°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#CFBF59
RGBrgb(207, 191, 89)
HSLhsl(52, 55%, 58%)
HSVhsv(52, 57%, 81%)
CMYKcmyk(0%, 7.7%, 57%, 18.8%)
CIE-LABlab(76.83, -7.09, 52.55)
CIE-LCHlch(76.83, 53.03, 97.68°)
OKLaboklab(79.78% -0.0226 0.1221)
OKLCHoklch(79.78% 0.124 100.5)
XYZxyz(46.1677, 51.2501, 16.9096)
Luminance0.5125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF59 #5969CF
analogous
#CF8459 #CFBF59 #A4CF59
triadic
#CFBF59 #59CFBF #BF59CF
tetradic
#CFBF59 #59CF84 #5969CF #CF59A4
square
#CFBF59 #59CF84 #5969CF #CF59A4
split-complementary
#CFBF59 #59A4CF #8459CF
monochromatic
#877A27 #B6A535 #CFBF59 #DDD188 #EAE4B8

Accessibility & contrast

On white

1.87
#CFBF59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#CFBF59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBF59
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBF59#FFFFFF#000000##000000
##CFBF591.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA4F
Deuteranopia (green-blind)
#D3C05E
Tritanopia (blue-blind)
#DDB3A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfbf59;
/* rgb */ color: rgb(207, 191, 89);
/* oklch */ color: oklch(79.8% 0.124 100.5);
Tailwind
colors: {
  custom: {
    50: '#e0d28b',
    500: '#cfbf59',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf59;
$custom-light: #e0d28b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf59",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 89
  },
  "hsl": {
    "h": 51.864,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79783,
    "c": 0.12419,
    "h": 100.5
  },
  "luminance": 0.51248
}

Semantic roles & 50–950 ramp

primary
#CFBF59
secondary
#3F498E
accent
#5EDE49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFBF59

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

Preview Lab → · Contrast checker → · Palette generator →

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