#CFB866#CFB866

#CFB866 is a light, moderate yellow. Relative luminance 0.485; OKLCH L 78.5% C 0.106 H 94.1°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#CFB866
RGBrgb(207, 184, 102)
HSLhsl(47, 52%, 61%)
HSVhsv(47, 51%, 81%)
CMYKcmyk(0%, 11.1%, 50.7%, 18.8%)
CIE-LABlab(75.14, -2.38, 44.32)
CIE-LCHlch(75.14, 44.39, 93.07°)
OKLaboklab(78.5% -0.0076 0.1055)
OKLCHoklch(78.5% 0.106 94.1)
XYZxyz(45.2724, 48.5076, 19.5460)
Luminance0.4851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB866 #667DCF
analogous
#CF8366 #CFB866 #B1CF66
triadic
#CFB866 #66CFB8 #B866CF
tetradic
#CFB866 #66CF83 #667DCF #CF66B1
square
#CFB866 #66CF83 #667DCF #CF66B1
split-complementary
#CFB866 #66B1CF #8366CF
monochromatic
#8E792D #BDA03B #CFB866 #DECE95 #ECE3C3

Accessibility & contrast

On white

1.96
#CFB866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#CFB866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB866
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB866#FFFFFF#000000##000000
##CFB8661.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb866;
/* rgb */ color: rgb(207, 184, 102);
/* oklch */ color: oklch(78.5% 0.106 94.1);
Tailwind
colors: {
  custom: {
    50: '#e0cd93',
    500: '#cfb866',
    950: '#000000',
  },
}
SCSS
$custom: #cfb866;
$custom-light: #e0cd93;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb866",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 102
  },
  "hsl": {
    "h": 46.857,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.78496,
    "c": 0.10577,
    "h": 94.1
  },
  "luminance": 0.48506
}

Semantic roles & 50–950 ramp

primary
#CFB866
secondary
#B4BDDC
accent
#48C026
background
#FEFCF9
surface
#FCF8F1
border
#D5D1CB
text
#15130D
muted
#84827E

Preview Lab

Preview with #CFB866

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

Preview Lab → · Contrast checker → · Palette generator →

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