#CFBA59#CFBA59

#CFBA59 is a light, moderate yellow. Relative luminance 0.491; OKLCH L 78.7% C 0.120 H 97.3°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#CFBA59
RGBrgb(207, 186, 89)
HSLhsl(49, 55%, 58%)
HSVhsv(49, 57%, 81%)
CMYKcmyk(0%, 10.1%, 57%, 18.8%)
CIE-LABlab(75.52, -4.50, 51.05)
CIE-LCHlch(75.52, 51.25, 95.03°)
OKLaboklab(78.74% -0.0152 0.1189)
OKLCHoklch(78.74% 0.12 97.3)
XYZxyz(45.0959, 49.1064, 16.5524)
Luminance0.4910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA59 #596ECF
analogous
#CF7F59 #CFBA59 #A9CF59
triadic
#CFBA59 #59CFBA #BA59CF
tetradic
#CFBA59 #59CF7F #596ECF #CF59A9
square
#CFBA59 #59CF7F #596ECF #CF59A9
split-complementary
#CFBA59 #59A9CF #7F59CF
monochromatic
#877627 #B69F35 #CFBA59 #DDCE88 #EAE1B8

Accessibility & contrast

On white

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

On black

10.82
#CFBA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA59
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA59#FFFFFF#000000##000000
##CFBA591.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB64F
Deuteranopia (green-blind)
#D0BD5D
Tritanopia (blue-blind)
#DEAEA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfba59;
/* rgb */ color: rgb(207, 186, 89);
/* oklch */ color: oklch(78.7% 0.120 97.3);
Tailwind
colors: {
  custom: {
    50: '#e0ce8b',
    500: '#cfba59',
    950: '#000000',
  },
}
SCSS
$custom: #cfba59;
$custom-light: #e0ce8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba59",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 89
  },
  "hsl": {
    "h": 49.322,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.78743,
    "c": 0.11984,
    "h": 97.3
  },
  "luminance": 0.49104
}

Semantic roles & 50–950 ramp

primary
#CFBA59
secondary
#AAB3D9
accent
#64DE49
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFBA59

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

Preview Lab → · Contrast checker → · Palette generator →

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