#CFBF5C#CFBF5C

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

Color values

HEX#CFBF5C
RGBrgb(207, 191, 92)
HSLhsl(52, 55%, 59%)
HSVhsv(52, 56%, 81%)
CMYKcmyk(0%, 7.7%, 55.6%, 18.8%)
CIE-LABlab(76.86, -6.86, 51.19)
CIE-LCHlch(76.86, 51.64, 97.63°)
OKLaboklab(79.82% -0.0216 0.1195)
OKLCHoklch(79.82% 0.121 100.3)
XYZxyz(46.2963, 51.3015, 17.5867)
Luminance0.5130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF5C #5C6CCF
analogous
#CF855C #CFBF5C #A5CF5C
triadic
#CFBF5C #5CCFBF #BF5CCF
tetradic
#CFBF5C #5CCF85 #5C6CCF #CF5CA5
square
#CFBF5C #5CCF85 #5C6CCF #CF5CA5
split-complementary
#CFBF5C #5CA5CF #855CCF
monochromatic
#887B28 #B8A636 #CFBF5C #DDD28B #EBE4BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBF5C#FFFFFF#000000##000000
##CFBF5C1.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)
#CFBA52
Deuteranopia (green-blind)
#D3C161
Tritanopia (blue-blind)
#DDB3A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfbf5c;
/* rgb */ color: rgb(207, 191, 92);
/* oklch */ color: oklch(79.8% 0.121 100.3);
Tailwind
colors: {
  custom: {
    50: '#e0d28d',
    500: '#cfbf5c',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf5c;
$custom-light: #e0d28d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf5c",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 92
  },
  "hsl": {
    "h": 51.652,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.79818,
    "c": 0.12145,
    "h": 100.3
  },
  "luminance": 0.513
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFBF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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