#CFB864#CFB864

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

Color values

HEX#CFB864
RGBrgb(207, 184, 100)
HSLhsl(47, 53%, 60%)
HSVhsv(47, 52%, 81%)
CMYKcmyk(0%, 11.1%, 51.7%, 18.8%)
CIE-LABlab(75.12, -2.56, 45.28)
CIE-LCHlch(75.12, 45.35, 93.23°)
OKLaboklab(78.47% -0.0083 0.1075)
OKLCHoklch(78.47% 0.108 94.4)
XYZxyz(45.1744, 48.4684, 19.0299)
Luminance0.4847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB864 #647BCF
analogous
#CF8364 #CFB864 #B0CF64
triadic
#CFB864 #64CFB8 #B864CF
tetradic
#CFB864 #64CF83 #647BCF #CF64B0
square
#CFB864 #64CF83 #647BCF #CF64B0
split-complementary
#CFB864 #64B0CF #8364CF
monochromatic
#8D782C #BCA03A #CFB864 #DDCD93 #ECE3C1

Accessibility & contrast

On white

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

On black

10.69
#CFB864 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB864
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB864#FFFFFF#000000##000000
##CFB8641.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B55D
Deuteranopia (green-blind)
#CDBC67
Tritanopia (blue-blind)
#DDADA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb864;
/* rgb */ color: rgb(207, 184, 100);
/* oklch */ color: oklch(78.5% 0.108 94.4);
Tailwind
colors: {
  custom: {
    50: '#e0cd92',
    500: '#cfb864',
    950: '#000000',
  },
}
SCSS
$custom: #cfb864;
$custom-light: #e0cd92;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb864",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 100
  },
  "hsl": {
    "h": 47.103,
    "s": 52.709,
    "l": 60.196
  },
  "oklch": {
    "l": 0.78468,
    "c": 0.10777,
    "h": 94.4
  },
  "luminance": 0.48466
}

Semantic roles & 50–950 ramp

primary
#CFB864
secondary
#B3BCDC
accent
#47C025
background
#FEFCF9
surface
#FCF8F1
border
#D5D1CB
text
#15130D
muted
#84827E

Preview Lab

Preview with #CFB864

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

Preview Lab → · Contrast checker → · Palette generator →

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