#CFB95C#CFB95C

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

Color values

HEX#CFB95C
RGBrgb(207, 185, 92)
HSLhsl(49, 55%, 59%)
HSVhsv(49, 56%, 81%)
CMYKcmyk(0%, 10.6%, 55.6%, 18.8%)
CIE-LABlab(75.29, -3.74, 49.36)
CIE-LCHlch(75.29, 49.51, 94.34°)
OKLaboklab(78.57% -0.0126 0.1156)
OKLCHoklch(78.57% 0.116 96.2)
XYZxyz(45.0145, 48.7380, 17.1594)
Luminance0.4874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB95C #5C72CF
analogous
#CF7F5C #CFB95C #ABCF5C
triadic
#CFB95C #5CCFB9 #B95CCF
tetradic
#CFB95C #5CCF7F #5C72CF #CF5CAB
square
#CFB95C #5CCF7F #5C72CF #CF5CAB
split-complementary
#CFB95C #5CABCF #7F5CCF
monochromatic
#887628 #B89F36 #CFB95C #DDCD8B #EBE2BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB95C#FFFFFF#000000##000000
##CFB95C1.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)
#C9B553
Deuteranopia (green-blind)
#CFBD60
Tritanopia (blue-blind)
#DEADA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb95c;
/* rgb */ color: rgb(207, 185, 92);
/* oklch */ color: oklch(78.6% 0.116 96.2);
Tailwind
colors: {
  custom: {
    50: '#e0cd8d',
    500: '#cfb95c',
    950: '#000000',
  },
}
SCSS
$custom: #cfb95c;
$custom-light: #e0cd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb95c",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 92
  },
  "hsl": {
    "h": 48.522,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.78572,
    "c": 0.11626,
    "h": 96.2
  },
  "luminance": 0.48736
}

Semantic roles & 50–950 ramp

primary
#CFB95C
secondary
#ADB5DA
accent
#66DE4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB95C

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

Preview Lab → · Contrast checker → · Palette generator →

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