#CFB666#CFB666

#CFB666 is a light, moderate yellow. Relative luminance 0.477; OKLCH L 78.1% C 0.104 H 92.5°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#CFB666
RGBrgb(207, 182, 102)
HSLhsl(46, 52%, 61%)
HSVhsv(46, 51%, 81%)
CMYKcmyk(0%, 12.1%, 50.7%, 18.8%)
CIE-LABlab(74.62, -1.33, 43.69)
CIE-LCHlch(74.62, 43.71, 91.74°)
OKLaboklab(78.09% -0.0045 0.1041)
OKLCHoklch(78.09% 0.104 92.5)
XYZxyz(44.8599, 47.6826, 19.4085)
Luminance0.4768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB666 #667FCF
analogous
#CF8166 #CFB666 #B4CF66
triadic
#CFB666 #66CFB6 #B666CF
tetradic
#CFB666 #66CF81 #667FCF #CF66B4
square
#CFB666 #66CF81 #667FCF #CF66B4
split-complementary
#CFB666 #66B4CF #8166CF
monochromatic
#8E772D #BD9E3B #CFB666 #DECC95 #ECE2C3

Accessibility & contrast

On white

1.99
#CFB666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#CFB666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB666
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB666#FFFFFF#000000##000000
##CFB6661.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B35F
Deuteranopia (green-blind)
#CCBB69
Tritanopia (blue-blind)
#DDABA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb666;
/* rgb */ color: rgb(207, 182, 102);
/* oklch */ color: oklch(78.1% 0.104 92.5);
Tailwind
colors: {
  custom: {
    50: '#e0cb93',
    500: '#cfb666',
    950: '#000000',
  },
}
SCSS
$custom: #cfb666;
$custom-light: #e0cb93;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb666",
  "rgb": {
    "r": 207,
    "g": 182,
    "b": 102
  },
  "hsl": {
    "h": 45.714,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.78085,
    "c": 0.10421,
    "h": 92.5
  },
  "luminance": 0.47681
}

Semantic roles & 50–950 ramp

primary
#CFB666
secondary
#B4BEDC
accent
#4AC026
background
#FEFCF9
surface
#FCF8F1
border
#D5D1CB
text
#15130D
muted
#84827E

Preview Lab

Preview with #CFB666

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

Preview Lab → · Contrast checker → · Palette generator →

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