#CFB85E#CFB85E

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

Color values

HEX#CFB85E
RGBrgb(207, 184, 94)
HSLhsl(48, 54%, 59%)
HSVhsv(48, 55%, 81%)
CMYKcmyk(0%, 11.1%, 54.6%, 18.8%)
CIE-LABlab(75.05, -3.06, 48.12)
CIE-LCHlch(75.05, 48.22, 93.64°)
OKLaboklab(78.39% -0.0104 0.1131)
OKLCHoklch(78.39% 0.114 95.3)
XYZxyz(44.8947, 48.3565, 17.5565)
Luminance0.4835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB85E #5E75CF
analogous
#CF805E #CFB85E #AECF5E
triadic
#CFB85E #5ECFB8 #B85ECF
tetradic
#CFB85E #5ECF80 #5E75CF #CF5EAE
square
#CFB85E #5ECF80 #5E75CF #CF5EAE
split-complementary
#CFB85E #5EAECF #805ECF
monochromatic
#8A7629 #B99E37 #CFB85E #DDCD8D #EBE2BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB85E#FFFFFF#000000##000000
##CFB85E1.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)
#C8B556
Deuteranopia (green-blind)
#CEBC62
Tritanopia (blue-blind)
#DDACA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb85e;
/* rgb */ color: rgb(207, 184, 94);
/* oklch */ color: oklch(78.4% 0.114 95.3);
Tailwind
colors: {
  custom: {
    50: '#e0cd8e',
    500: '#cfb85e',
    950: '#000000',
  },
}
SCSS
$custom: #cfb85e;
$custom-light: #e0cd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb85e",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 94
  },
  "hsl": {
    "h": 47.788,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.7839,
    "c": 0.11357,
    "h": 95.3
  },
  "luminance": 0.48355
}

Semantic roles & 50–950 ramp

primary
#CFB85E
secondary
#AEB7DB
accent
#68DD4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB85E

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

Preview Lab → · Contrast checker → · Palette generator →

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