#CFB960#CFB960

#CFB960 is a light, moderate yellow. Relative luminance 0.488; OKLCH L 78.6% C 0.112 H 95.7°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#CFB960
RGBrgb(207, 185, 96)
HSLhsl(48, 54%, 59%)
HSVhsv(48, 54%, 81%)
CMYKcmyk(0%, 10.6%, 53.6%, 18.8%)
CIE-LABlab(75.33, -3.42, 47.49)
CIE-LCHlch(75.33, 47.62, 94.12°)
OKLaboklab(78.62% -0.0112 0.1119)
OKLCHoklch(78.62% 0.112 95.7)
XYZxyz(45.1940, 48.8098, 18.1047)
Luminance0.4881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB960 #6076CF
analogous
#CF8260 #CFB960 #AECF60
triadic
#CFB960 #60CFB9 #B960CF
tetradic
#CFB960 #60CF82 #6076CF #CF60AE
square
#CFB960 #60CF82 #6076CF #CF60AE
split-complementary
#CFB960 #60AECF #8260CF
monochromatic
#8B782A #BAA038 #CFB960 #DDCE8F #EBE2BE

Accessibility & contrast

On white

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

On black

10.76
#CFB960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB960
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB960#FFFFFF#000000##000000
##CFB9601.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B558
Deuteranopia (green-blind)
#CEBD64
Tritanopia (blue-blind)
#DDADA5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb960;
/* rgb */ color: rgb(207, 185, 96);
/* oklch */ color: oklch(78.6% 0.112 95.7);
Tailwind
colors: {
  custom: {
    50: '#e0cd8f',
    500: '#cfb960',
    950: '#000000',
  },
}
SCSS
$custom: #cfb960;
$custom-light: #e0cd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb960",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 96
  },
  "hsl": {
    "h": 48.108,
    "s": 53.623,
    "l": 59.412
  },
  "oklch": {
    "l": 0.78622,
    "c": 0.11247,
    "h": 95.7
  },
  "luminance": 0.48808
}

Semantic roles & 50–950 ramp

primary
#CFB960
secondary
#B0B8DB
accent
#68DD4B
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130D
muted
#84827D

Preview Lab

Preview with #CFB960

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

Preview Lab → · Contrast checker → · Palette generator →

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