#CFB85B#CFB85B

#CFB85B is a light, moderate yellow. Relative luminance 0.483; OKLCH L 78.4% C 0.116 H 95.7°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#CFB85B
RGBrgb(207, 184, 91)
HSLhsl(48, 55%, 58%)
HSVhsv(48, 56%, 81%)
CMYKcmyk(0%, 11.1%, 56%, 18.8%)
CIE-LABlab(75.02, -3.30, 49.52)
CIE-LCHlch(75.02, 49.63, 93.81°)
OKLaboklab(78.35% -0.0115 0.1158)
OKLCHoklch(78.35% 0.116 95.7)
XYZxyz(44.7627, 48.3037, 16.8612)
Luminance0.4830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB85B #5B72CF
analogous
#CF7E5B #CFB85B #ACCF5B
triadic
#CFB85B #5BCFB8 #B85BCF
tetradic
#CFB85B #5BCF7E #5B72CF #CF5BAC
square
#CFB85B #5BCF7E #5B72CF #CF5BAC
split-complementary
#CFB85B #5BACCF #7E5BCF
monochromatic
#887528 #B79D36 #CFB85B #DDCC8A #EBE1BA

Accessibility & contrast

On white

1.97
#CFB85B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#CFB85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB85B
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB85B#FFFFFF#000000##000000
##CFB85B1.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B452
Deuteranopia (green-blind)
#CEBC5F
Tritanopia (blue-blind)
#DEACA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb85b;
/* rgb */ color: rgb(207, 184, 91);
/* oklch */ color: oklch(78.4% 0.116 95.7);
Tailwind
colors: {
  custom: {
    50: '#e0cd8c',
    500: '#cfb85b',
    950: '#000000',
  },
}
SCSS
$custom: #cfb85b;
$custom-light: #e0cd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb85b",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 91
  },
  "hsl": {
    "h": 48.103,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.78353,
    "c": 0.11638,
    "h": 95.7
  },
  "luminance": 0.48302
}

Semantic roles & 50–950 ramp

primary
#CFB85B
secondary
#ACB5DA
accent
#67DE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB85B

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

Preview Lab → · Contrast checker → · Palette generator →

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