#CFB85F#CFB85F

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

Color values

HEX#CFB85F
RGBrgb(207, 184, 95)
HSLhsl(48, 54%, 59%)
HSVhsv(48, 54%, 81%)
CMYKcmyk(0%, 11.1%, 54.1%, 18.8%)
CIE-LABlab(75.06, -2.98, 47.65)
CIE-LCHlch(75.06, 47.75, 93.58°)
OKLaboklab(78.4% -0.0101 0.1122)
OKLCHoklch(78.4% 0.113 95.1)
XYZxyz(44.9398, 48.3746, 17.7943)
Luminance0.4837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB85F #5F76CF
analogous
#CF805F #CFB85F #AECF5F
triadic
#CFB85F #5FCFB8 #B85FCF
tetradic
#CFB85F #5FCF80 #5F76CF #CF5FAE
square
#CFB85F #5FCF80 #5F76CF #CF5FAE
split-complementary
#CFB85F #5FAECF #805FCF
monochromatic
#8A7629 #B99F38 #CFB85F #DDCD8E #EBE2BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB85F#FFFFFF#000000##000000
##CFB85F1.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)
#C8B557
Deuteranopia (green-blind)
#CEBC63
Tritanopia (blue-blind)
#DDACA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb85f;
/* rgb */ color: rgb(207, 184, 95);
/* oklch */ color: oklch(78.4% 0.113 95.1);
Tailwind
colors: {
  custom: {
    50: '#e0cd8f',
    500: '#cfb85f',
    950: '#000000',
  },
}
SCSS
$custom: #cfb85f;
$custom-light: #e0cd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb85f",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 95
  },
  "hsl": {
    "h": 47.679,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.78403,
    "c": 0.11262,
    "h": 95.1
  },
  "luminance": 0.48373
}

Semantic roles & 50–950 ramp

primary
#CFB85F
secondary
#AFB8DB
accent
#69DD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB85F

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

Preview Lab → · Contrast checker → · Palette generator →

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