#CFBF5A#CFBF5A

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

Color values

HEX#CFBF5A
RGBrgb(207, 191, 90)
HSLhsl(52, 55%, 58%)
HSVhsv(52, 57%, 81%)
CMYKcmyk(0%, 7.7%, 56.5%, 18.8%)
CIE-LABlab(76.84, -7.01, 52.10)
CIE-LCHlch(76.84, 52.57, 97.67°)
OKLaboklab(79.8% -0.0223 0.1213)
OKLCHoklch(79.8% 0.123 100.4)
XYZxyz(46.2100, 51.2670, 17.1323)
Luminance0.5127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF5A #5A6ACF
analogous
#CF845A #CFBF5A #A4CF5A
triadic
#CFBF5A #5ACFBF #BF5ACF
tetradic
#CFBF5A #5ACF84 #5A6ACF #CF5AA4
square
#CFBF5A #5ACF84 #5A6ACF #CF5AA4
split-complementary
#CFBF5A #5AA4CF #845ACF
monochromatic
#877A27 #B7A535 #CFBF5A #DDD189 #EBE4B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBF5A#FFFFFF#000000##000000
##CFBF5A1.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)
#CFBA50
Deuteranopia (green-blind)
#D3C05F
Tritanopia (blue-blind)
#DDB3A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfbf5a;
/* rgb */ color: rgb(207, 191, 90);
/* oklch */ color: oklch(79.8% 0.123 100.4);
Tailwind
colors: {
  custom: {
    50: '#e0d28c',
    500: '#cfbf5a',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf5a;
$custom-light: #e0d28c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf5a",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 90
  },
  "hsl": {
    "h": 51.795,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.79795,
    "c": 0.12328,
    "h": 100.4
  },
  "luminance": 0.51265
}

Semantic roles & 50–950 ramp

primary
#CFBF5A
secondary
#3F4A8E
accent
#5EDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFBF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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