#CFB95B#CFB95B

#CFB95B is a light, moderate yellow. Relative luminance 0.487; OKLCH L 78.6% C 0.117 H 96.4°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#CFB95B
RGBrgb(207, 185, 91)
HSLhsl(49, 55%, 58%)
HSVhsv(49, 56%, 81%)
CMYKcmyk(0%, 10.6%, 56%, 18.8%)
CIE-LABlab(75.28, -3.82, 49.83)
CIE-LCHlch(75.28, 49.97, 94.39°)
OKLaboklab(78.56% -0.013 0.1165)
OKLCHoklch(78.56% 0.117 96.4)
XYZxyz(44.9711, 48.7206, 16.9307)
Luminance0.4872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB95B #5B71CF
analogous
#CF7F5B #CFB95B #ABCF5B
triadic
#CFB95B #5BCFB9 #B95BCF
tetradic
#CFB95B #5BCF7F #5B71CF #CF5BAB
square
#CFB95B #5BCF7F #5B71CF #CF5BAB
split-complementary
#CFB95B #5BABCF #7F5BCF
monochromatic
#887628 #B79F36 #CFB95B #DDCD8A #EBE1BA

Accessibility & contrast

On white

1.95
#CFB95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#CFB95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB95B
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB95B#FFFFFF#000000##000000
##CFB95B1.001.9510.7410.74
#FFFFFF1.951.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B552
Deuteranopia (green-blind)
#CFBD5F
Tritanopia (blue-blind)
#DEADA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb95b;
/* rgb */ color: rgb(207, 185, 91);
/* oklch */ color: oklch(78.6% 0.117 96.4);
Tailwind
colors: {
  custom: {
    50: '#e0cd8c',
    500: '#cfb95b',
    950: '#000000',
  },
}
SCSS
$custom: #cfb95b;
$custom-light: #e0cd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb95b",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 91
  },
  "hsl": {
    "h": 48.621,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.7856,
    "c": 0.11719,
    "h": 96.4
  },
  "luminance": 0.48719
}

Semantic roles & 50–950 ramp

primary
#CFB95B
secondary
#ACB5DA
accent
#66DE4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB95B

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

Preview Lab → · Contrast checker → · Palette generator →

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