#CFBB51#CFBB51

#CFBB51 is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.9% C 0.128 H 98.7°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#CFBB51
RGBrgb(207, 187, 81)
HSLhsl(50, 57%, 56%)
HSVhsv(50, 61%, 81%)
CMYKcmyk(0%, 9.7%, 60.9%, 18.8%)
CIE-LABlab(75.70, -5.59, 54.93)
CIE-LCHlch(75.70, 55.21, 95.82°)
OKLaboklab(78.86% -0.0193 0.1262)
OKLCHoklch(78.86% 0.128 98.7)
XYZxyz(44.9895, 49.4021, 14.9488)
Luminance0.4940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBB51 #5165CF
analogous
#CF7C51 #CFBB51 #A4CF51
triadic
#CFBB51 #51CFBB #BB51CF
tetradic
#CFBB51 #51CF7C #5165CF #CF51A4
square
#CFBB51 #51CF7C #5165CF #CF51A4
split-complementary
#CFBB51 #51A4CF #7C51CF
monochromatic
#827324 #B29D31 #CFBB51 #DCCE81 #E9E0B1

Accessibility & contrast

On white

1.93
#CFBB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#CFBB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBB51
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBB51#FFFFFF#000000##000000
##CFBB511.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB645
Deuteranopia (green-blind)
#D1BE56
Tritanopia (blue-blind)
#DEAEA4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfbb51;
/* rgb */ color: rgb(207, 187, 81);
/* oklch */ color: oklch(78.9% 0.128 98.7);
Tailwind
colors: {
  custom: {
    50: '#e1cf86',
    500: '#cfbb51',
    950: '#000000',
  },
}
SCSS
$custom: #cfbb51;
$custom-light: #e1cf86;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbb51",
  "rgb": {
    "r": 207,
    "g": 187,
    "b": 81
  },
  "hsl": {
    "h": 50.476,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.78863,
    "c": 0.12766,
    "h": 98.7
  },
  "luminance": 0.494
}

Semantic roles & 50–950 ramp

primary
#CFBB51
secondary
#A4ACD8
accent
#60E048
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFBB51

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

Preview Lab → · Contrast checker → · Palette generator →

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