#CFBA60#CFBA60

#CFBA60 is a light, moderate yellow. Relative luminance 0.492; OKLCH L 78.8% C 0.113 H 96.5°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#CFBA60
RGBrgb(207, 186, 96)
HSLhsl(49, 54%, 59%)
HSVhsv(49, 54%, 81%)
CMYKcmyk(0%, 10.1%, 53.6%, 18.8%)
CIE-LABlab(75.59, -3.94, 47.80)
CIE-LCHlch(75.59, 47.96, 94.71°)
OKLaboklab(78.83% -0.0128 0.1126)
OKLCHoklch(78.83% 0.113 96.5)
XYZxyz(45.4040, 49.2296, 18.1747)
Luminance0.4923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA60 #6075CF
analogous
#CF8360 #CFBA60 #ACCF60
triadic
#CFBA60 #60CFBA #BA60CF
tetradic
#CFBA60 #60CF83 #6075CF #CF60AC
square
#CFBA60 #60CF83 #6075CF #CF60AC
split-complementary
#CFBA60 #60ACCF #8360CF
monochromatic
#8B782A #BAA138 #CFBA60 #DDCE8F #EBE3BE

Accessibility & contrast

On white

1.94
#CFBA60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#CFBA60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA60
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA60#FFFFFF#000000##000000
##CFBA601.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB658
Deuteranopia (green-blind)
#CFBD64
Tritanopia (blue-blind)
#DDAEA5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfba60;
/* rgb */ color: rgb(207, 186, 96);
/* oklch */ color: oklch(78.8% 0.113 96.5);
Tailwind
colors: {
  custom: {
    50: '#e0ce8f',
    500: '#cfba60',
    950: '#000000',
  },
}
SCSS
$custom: #cfba60;
$custom-light: #e0ce8f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba60",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 96
  },
  "hsl": {
    "h": 48.649,
    "s": 53.623,
    "l": 59.412
  },
  "oklch": {
    "l": 0.78828,
    "c": 0.11331,
    "h": 96.5
  },
  "luminance": 0.49228
}

Semantic roles & 50–950 ramp

primary
#CFBA60
secondary
#B0B8DB
accent
#66DD4B
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130D
muted
#84827D

Preview Lab

Preview with #CFBA60

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

Preview Lab → · Contrast checker → · Palette generator →

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