#CFB85D#CFB85D

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

Color values

HEX#CFB85D
RGBrgb(207, 184, 93)
HSLhsl(48, 54%, 59%)
HSVhsv(48, 55%, 81%)
CMYKcmyk(0%, 11.1%, 55.1%, 18.8%)
CIE-LABlab(75.04, -3.14, 48.59)
CIE-LCHlch(75.04, 48.69, 93.70°)
OKLaboklab(78.38% -0.0108 0.114)
OKLCHoklch(78.38% 0.115 95.4)
XYZxyz(44.8501, 48.3387, 17.3217)
Luminance0.4834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB85D #5D74CF
analogous
#CF7F5D #CFB85D #ADCF5D
triadic
#CFB85D #5DCFB8 #B85DCF
tetradic
#CFB85D #5DCF7F #5D74CF #CF5DAD
square
#CFB85D #5DCF7F #5D74CF #CF5DAD
split-complementary
#CFB85D #5DADCF #7F5DCF
monochromatic
#897629 #B89E37 #CFB85D #DDCD8C #EBE1BB

Accessibility & contrast

On white

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

On black

10.67
#CFB85D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB85D
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB85D#FFFFFF#000000##000000
##CFB85D1.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb85d;
/* rgb */ color: rgb(207, 184, 93);
/* oklch */ color: oklch(78.4% 0.115 95.4);
Tailwind
colors: {
  custom: {
    50: '#e0cd8d',
    500: '#cfb85d',
    950: '#000000',
  },
}
SCSS
$custom: #cfb85d;
$custom-light: #e0cd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb85d",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 93
  },
  "hsl": {
    "h": 47.895,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.78378,
    "c": 0.11452,
    "h": 95.4
  },
  "luminance": 0.48337
}

Semantic roles & 50–950 ramp

primary
#CFB85D
secondary
#ADB7DA
accent
#68DE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB85D

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

Preview Lab → · Contrast checker → · Palette generator →

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