#CFBA51#CFBA51

#CFBA51 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.7% C 0.127 H 98.1°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#CFBA51
RGBrgb(207, 186, 81)
HSLhsl(50, 57%, 56%)
HSVhsv(50, 61%, 81%)
CMYKcmyk(0%, 10.1%, 60.9%, 18.8%)
CIE-LABlab(75.44, -5.08, 54.64)
CIE-LCHlch(75.44, 54.87, 95.31°)
OKLaboklab(78.66% -0.0178 0.1256)
OKLCHoklch(78.66% 0.127 98.1)
XYZxyz(44.7781, 48.9793, 14.8783)
Luminance0.4898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA51 #5166CF
analogous
#CF7B51 #CFBA51 #A5CF51
triadic
#CFBA51 #51CFBA #BA51CF
tetradic
#CFBA51 #51CF7B #5166CF #CF51A5
square
#CFBA51 #51CF7B #5166CF #CF51A5
split-complementary
#CFBA51 #51A5CF #7B51CF
monochromatic
#827224 #B29C31 #CFBA51 #DCCD81 #E9E0B1

Accessibility & contrast

On white

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

On black

10.80
#CFBA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA51
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA51#FFFFFF#000000##000000
##CFBA511.001.9510.8010.80
#FFFFFF1.951.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB646
Deuteranopia (green-blind)
#D0BD56
Tritanopia (blue-blind)
#DEADA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfba51;
/* rgb */ color: rgb(207, 186, 81);
/* oklch */ color: oklch(78.7% 0.127 98.1);
Tailwind
colors: {
  custom: {
    50: '#e1ce86',
    500: '#cfba51',
    950: '#000000',
  },
}
SCSS
$custom: #cfba51;
$custom-light: #e1ce86;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba51",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 81
  },
  "hsl": {
    "h": 50,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.78655,
    "c": 0.12683,
    "h": 98.1
  },
  "luminance": 0.48977
}

Semantic roles & 50–950 ramp

primary
#CFBA51
secondary
#A4ADD8
accent
#61E048
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFBA51

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

Preview Lab → · Contrast checker → · Palette generator →

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