#CFB95F#CFB95F

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

Color values

HEX#CFB95F
RGBrgb(207, 185, 95)
HSLhsl(48, 54%, 59%)
HSVhsv(48, 54%, 81%)
CMYKcmyk(0%, 10.6%, 54.1%, 18.8%)
CIE-LABlab(75.32, -3.50, 47.96)
CIE-LCHlch(75.32, 48.09, 94.18°)
OKLaboklab(78.61% -0.0116 0.1128)
OKLCHoklch(78.61% 0.113 95.9)
XYZxyz(45.1483, 48.7915, 17.8638)
Luminance0.4879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB95F #5F75CF
analogous
#CF815F #CFB95F #ADCF5F
triadic
#CFB95F #5FCFB9 #B95FCF
tetradic
#CFB95F #5FCF81 #5F75CF #CF5FAD
square
#CFB95F #5FCF81 #5F75CF #CF5FAD
split-complementary
#CFB95F #5FADCF #815FCF
monochromatic
#8A7729 #B9A038 #CFB95F #DDCE8E #EBE2BD

Accessibility & contrast

On white

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

On black

10.76
#CFB95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB95F
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB95F#FFFFFF#000000##000000
##CFB95F1.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb95f;
/* rgb */ color: rgb(207, 185, 95);
/* oklch */ color: oklch(78.6% 0.113 95.9);
Tailwind
colors: {
  custom: {
    50: '#e0cd8f',
    500: '#cfb95f',
    950: '#000000',
  },
}
SCSS
$custom: #cfb95f;
$custom-light: #e0cd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb95f",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 95
  },
  "hsl": {
    "h": 48.214,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.78609,
    "c": 0.11343,
    "h": 95.9
  },
  "luminance": 0.4879
}

Semantic roles & 50–950 ramp

primary
#CFB95F
secondary
#AFB8DB
accent
#67DD4B
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB95F

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

Preview Lab → · Contrast checker → · Palette generator →

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