#CFB95E#CFB95E

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

Color values

HEX#CFB95E
RGBrgb(207, 185, 94)
HSLhsl(48, 54%, 59%)
HSVhsv(48, 55%, 81%)
CMYKcmyk(0%, 10.6%, 54.6%, 18.8%)
CIE-LABlab(75.31, -3.58, 48.43)
CIE-LCHlch(75.31, 48.56, 94.23°)
OKLaboklab(78.6% -0.0119 0.1138)
OKLCHoklch(78.6% 0.114 96)
XYZxyz(45.1031, 48.7734, 17.6259)
Luminance0.4877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB95E #5E74CF
analogous
#CF815E #CFB95E #ADCF5E
triadic
#CFB95E #5ECFB9 #B95ECF
tetradic
#CFB95E #5ECF81 #5E74CF #CF5EAD
square
#CFB95E #5ECF81 #5E74CF #CF5EAD
split-complementary
#CFB95E #5EADCF #815ECF
monochromatic
#8A7729 #B99F37 #CFB95E #DDCD8D #EBE2BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB95E#FFFFFF#000000##000000
##CFB95E1.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)
#C9B556
Deuteranopia (green-blind)
#CFBD62
Tritanopia (blue-blind)
#DDADA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb95e;
/* rgb */ color: rgb(207, 185, 94);
/* oklch */ color: oklch(78.6% 0.114 96.0);
Tailwind
colors: {
  custom: {
    50: '#e0cd8e',
    500: '#cfb95e',
    950: '#000000',
  },
}
SCSS
$custom: #cfb95e;
$custom-light: #e0cd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb95e",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 94
  },
  "hsl": {
    "h": 48.319,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.78596,
    "c": 0.11439,
    "h": 96
  },
  "luminance": 0.48771
}

Semantic roles & 50–950 ramp

primary
#CFB95E
secondary
#AEB7DB
accent
#67DD4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB95E

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

Preview Lab → · Contrast checker → · Palette generator →

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