#CFB868#CFB868

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

Color values

HEX#CFB868
RGBrgb(207, 184, 104)
HSLhsl(47, 52%, 61%)
HSVhsv(47, 50%, 81%)
CMYKcmyk(0%, 11.1%, 49.8%, 18.8%)
CIE-LABlab(75.17, -2.20, 43.36)
CIE-LCHlch(75.17, 43.41, 92.90°)
OKLaboklab(78.52% -0.0068 0.1035)
OKLCHoklch(78.52% 0.104 93.8)
XYZxyz(45.3728, 48.5478, 20.0747)
Luminance0.4855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB868 #687FCF
analogous
#CF8468 #CFB868 #B2CF68
triadic
#CFB868 #68CFB8 #B868CF
tetradic
#CFB868 #68CF84 #687FCF #CF68B2
square
#CFB868 #68CF84 #687FCF #CF68B2
split-complementary
#CFB868 #68B2CF #8468CF
monochromatic
#8F792D #BEA13C #CFB868 #DECE96 #EDE4C5

Accessibility & contrast

On white

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

On black

10.71
#CFB868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB868
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB868#FFFFFF#000000##000000
##CFB8681.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb868;
/* rgb */ color: rgb(207, 184, 104);
/* oklch */ color: oklch(78.5% 0.104 93.8);
Tailwind
colors: {
  custom: {
    50: '#e0cd95',
    500: '#cfb868',
    950: '#000000',
  },
}
SCSS
$custom: #cfb868;
$custom-light: #e0cd95;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb868",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 104
  },
  "hsl": {
    "h": 46.602,
    "s": 51.759,
    "l": 60.98
  },
  "oklch": {
    "l": 0.78524,
    "c": 0.10376,
    "h": 93.8
  },
  "luminance": 0.48546
}

Semantic roles & 50–950 ramp

primary
#CFB868
secondary
#B6BFDD
accent
#48BF26
background
#FEFCF9
surface
#FCF8F2
border
#D5D1CC
text
#15130D
muted
#84827E

Preview Lab

Preview with #CFB868

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

Preview Lab → · Contrast checker → · Palette generator →

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