#CFB95A#CFB95A

#CFB95A is a light, moderate yellow. Relative luminance 0.487; OKLCH L 78.5% C 0.118 H 96.5°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#CFB95A
RGBrgb(207, 185, 90)
HSLhsl(49, 55%, 58%)
HSVhsv(49, 57%, 81%)
CMYKcmyk(0%, 10.6%, 56.5%, 18.8%)
CIE-LABlab(75.27, -3.90, 50.29)
CIE-LCHlch(75.27, 50.44, 94.43°)
OKLaboklab(78.55% -0.0133 0.1174)
OKLCHoklch(78.55% 0.118 96.5)
XYZxyz(44.9283, 48.7035, 16.7050)
Luminance0.4870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB95A #5A70CF
analogous
#CF7E5A #CFB95A #AACF5A
triadic
#CFB95A #5ACFB9 #B95ACF
tetradic
#CFB95A #5ACF7E #5A70CF #CF5AAA
square
#CFB95A #5ACF7E #5A70CF #CF5AAA
split-complementary
#CFB95A #5AAACF #7E5ACF
monochromatic
#877527 #B79E35 #CFB95A #DDCD89 #EBE1B9

Accessibility & contrast

On white

1.96
#CFB95A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#CFB95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB95A
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB95A#FFFFFF#000000##000000
##CFB95A1.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B551
Deuteranopia (green-blind)
#CFBC5E
Tritanopia (blue-blind)
#DEADA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb95a;
/* rgb */ color: rgb(207, 185, 90);
/* oklch */ color: oklch(78.5% 0.118 96.5);
Tailwind
colors: {
  custom: {
    50: '#e0cd8b',
    500: '#cfb95a',
    950: '#000000',
  },
}
SCSS
$custom: #cfb95a;
$custom-light: #e0cd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb95a",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 90
  },
  "hsl": {
    "h": 48.718,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.78548,
    "c": 0.1181,
    "h": 96.5
  },
  "luminance": 0.48702
}

Semantic roles & 50–950 ramp

primary
#CFB95A
secondary
#ABB4DA
accent
#65DE4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB95A

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

Preview Lab → · Contrast checker → · Palette generator →

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