#CFBF5B#CFBF5B

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

Color values

HEX#CFBF5B
RGBrgb(207, 191, 91)
HSLhsl(52, 55%, 58%)
HSVhsv(52, 56%, 81%)
CMYKcmyk(0%, 7.7%, 56%, 18.8%)
CIE-LABlab(76.85, -6.94, 51.64)
CIE-LCHlch(76.85, 52.11, 97.65°)
OKLaboklab(79.81% -0.022 0.1204)
OKLCHoklch(79.81% 0.122 100.3)
XYZxyz(46.2529, 51.2841, 17.3580)
Luminance0.5128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF5B #5B6BCF
analogous
#CF855B #CFBF5B #A5CF5B
triadic
#CFBF5B #5BCFBF #BF5BCF
tetradic
#CFBF5B #5BCF85 #5B6BCF #CF5BA5
square
#CFBF5B #5BCF85 #5B6BCF #CF5BA5
split-complementary
#CFBF5B #5BA5CF #855BCF
monochromatic
#887B28 #B7A536 #CFBF5B #DDD18A #EBE4BA

Accessibility & contrast

On white

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

On black

11.26
#CFBF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBF5B
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBF5B#FFFFFF#000000##000000
##CFBF5B1.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA51
Deuteranopia (green-blind)
#D3C060
Tritanopia (blue-blind)
#DDB3A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfbf5b;
/* rgb */ color: rgb(207, 191, 91);
/* oklch */ color: oklch(79.8% 0.122 100.3);
Tailwind
colors: {
  custom: {
    50: '#e0d28c',
    500: '#cfbf5b',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf5b;
$custom-light: #e0d28c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf5b",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 91
  },
  "hsl": {
    "h": 51.724,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.79806,
    "c": 0.12237,
    "h": 100.3
  },
  "luminance": 0.51282
}

Semantic roles & 50–950 ramp

primary
#CFBF5B
secondary
#404B8F
accent
#5EDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFBF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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