#CFBF5D#CFBF5D

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

Color values

HEX#CFBF5D
RGBrgb(207, 191, 93)
HSLhsl(52, 54%, 59%)
HSVhsv(52, 55%, 81%)
CMYKcmyk(0%, 7.7%, 55.1%, 18.8%)
CIE-LABlab(76.87, -6.78, 50.73)
CIE-LCHlch(76.87, 51.18, 97.61°)
OKLaboklab(79.83% -0.0213 0.1186)
OKLCHoklch(79.83% 0.121 100.2)
XYZxyz(46.3403, 51.3191, 17.8184)
Luminance0.5132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF5D #5D6DCF
analogous
#CF865D #CFBF5D #A6CF5D
triadic
#CFBF5D #5DCFBF #BF5DCF
tetradic
#CFBF5D #5DCF86 #5D6DCF #CF5DA6
square
#CFBF5D #5DCF86 #5D6DCF #CF5DA6
split-complementary
#CFBF5D #5DA6CF #865DCF
monochromatic
#897B29 #B8A637 #CFBF5D #DDD28C #EBE4BB

Accessibility & contrast

On white

1.86
#CFBF5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBF5D#FFFFFF#000000##000000
##CFBF5D1.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfbf5d;
/* rgb */ color: rgb(207, 191, 93);
/* oklch */ color: oklch(79.8% 0.121 100.2);
Tailwind
colors: {
  custom: {
    50: '#e0d28e',
    500: '#cfbf5d',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf5d;
$custom-light: #e0d28e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf5d",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 93
  },
  "hsl": {
    "h": 51.579,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.7983,
    "c": 0.12052,
    "h": 100.2
  },
  "luminance": 0.51317
}

Semantic roles & 50–950 ramp

primary
#CFBF5D
secondary
#414C90
accent
#5FDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFBF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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