#CFB95D#CFB95D

#CFB95D is a light, moderate yellow. Relative luminance 0.488; OKLCH L 78.6% C 0.115 H 96.1°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#CFB95D
RGBrgb(207, 185, 93)
HSLhsl(48, 54%, 59%)
HSVhsv(48, 55%, 81%)
CMYKcmyk(0%, 10.6%, 55.1%, 18.8%)
CIE-LABlab(75.30, -3.66, 48.90)
CIE-LCHlch(75.30, 49.04, 94.28°)
OKLaboklab(78.58% -0.0123 0.1147)
OKLCHoklch(78.58% 0.115 96.1)
XYZxyz(45.0585, 48.7556, 17.3911)
Luminance0.4875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB95D #5D73CF
analogous
#CF805D #CFB95D #ACCF5D
triadic
#CFB95D #5DCFB9 #B95DCF
tetradic
#CFB95D #5DCF80 #5D73CF #CF5DAC
square
#CFB95D #5DCF80 #5D73CF #CF5DAC
split-complementary
#CFB95D #5DACCF #805DCF
monochromatic
#897629 #B89F37 #CFB95D #DDCD8C #EBE2BB

Accessibility & contrast

On white

1.95
#CFB95D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#CFB95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB95D
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB95D#FFFFFF#000000##000000
##CFB95D1.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B554
Deuteranopia (green-blind)
#CFBD61
Tritanopia (blue-blind)
#DDADA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb95d;
/* rgb */ color: rgb(207, 185, 93);
/* oklch */ color: oklch(78.6% 0.115 96.1);
Tailwind
colors: {
  custom: {
    50: '#e0cd8d',
    500: '#cfb95d',
    950: '#000000',
  },
}
SCSS
$custom: #cfb95d;
$custom-light: #e0cd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb95d",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 93
  },
  "hsl": {
    "h": 48.421,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.78584,
    "c": 0.11533,
    "h": 96.1
  },
  "luminance": 0.48754
}

Semantic roles & 50–950 ramp

primary
#CFB95D
secondary
#ADB6DA
accent
#67DE4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB95D

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

Preview Lab → · Contrast checker → · Palette generator →

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