#CFBA61#CFBA61

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

Color values

HEX#CFBA61
RGBrgb(207, 186, 97)
HSLhsl(49, 53%, 60%)
HSVhsv(49, 53%, 81%)
CMYKcmyk(0%, 10.1%, 53.1%, 18.8%)
CIE-LABlab(75.61, -3.86, 47.33)
CIE-LCHlch(75.61, 47.49, 94.66°)
OKLaboklab(78.84% -0.0124 0.1117)
OKLCHoklch(78.84% 0.112 96.3)
XYZxyz(45.4503, 49.2482, 18.4187)
Luminance0.4925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA61 #6176CF
analogous
#CF8361 #CFBA61 #ADCF61
triadic
#CFBA61 #61CFBA #BA61CF
tetradic
#CFBA61 #61CF83 #6176CF #CF61AD
square
#CFBA61 #61CF83 #6176CF #CF61AD
split-complementary
#CFBA61 #61ADCF #8361CF
monochromatic
#8B792A #BAA139 #CFBA61 #DDCE90 #ECE3BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBA61#FFFFFF#000000##000000
##CFBA611.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)
#CAB659
Deuteranopia (green-blind)
#CFBD65
Tritanopia (blue-blind)
#DDAEA5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfba61;
/* rgb */ color: rgb(207, 186, 97);
/* oklch */ color: oklch(78.8% 0.112 96.3);
Tailwind
colors: {
  custom: {
    50: '#e0ce90',
    500: '#cfba61',
    950: '#000000',
  },
}
SCSS
$custom: #cfba61;
$custom-light: #e0ce90;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba61",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 97
  },
  "hsl": {
    "h": 48.545,
    "s": 53.398,
    "l": 59.608
  },
  "oklch": {
    "l": 0.78841,
    "c": 0.11235,
    "h": 96.3
  },
  "luminance": 0.49246
}

Semantic roles & 50–950 ramp

primary
#CFBA61
secondary
#B1B9DB
accent
#67DD4B
background
#FEFCF9
surface
#FCF9F1
border
#D5D2CB
text
#16130D
muted
#84827E

Preview Lab

Preview with #CFBA61

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

Preview Lab → · Contrast checker → · Palette generator →

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