#CFBC51#CFBC51

#CFBC51 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.1% C 0.128 H 99.3°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#CFBC51
RGBrgb(207, 188, 81)
HSLhsl(51, 57%, 56%)
HSVhsv(51, 61%, 81%)
CMYKcmyk(0%, 9.2%, 60.9%, 18.8%)
CIE-LABlab(75.96, -6.11, 55.22)
CIE-LCHlch(75.96, 55.56, 96.32°)
OKLaboklab(79.07% -0.0207 0.1268)
OKLCHoklch(79.07% 0.128 99.3)
XYZxyz(45.2024, 49.8279, 15.0197)
Luminance0.4983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBC51 #5164CF
analogous
#CF7D51 #CFBC51 #A3CF51
triadic
#CFBC51 #51CFBC #BC51CF
tetradic
#CFBC51 #51CF7D #5164CF #CF51A3
square
#CFBC51 #51CF7D #5164CF #CF51A3
split-complementary
#CFBC51 #51A3CF #7D51CF
monochromatic
#827424 #B29E31 #CFBC51 #DCCE81 #E9E1B1

Accessibility & contrast

On white

1.92
#CFBC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#CFBC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBC51
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBC51#FFFFFF#000000##000000
##CFBC511.001.9210.9710.97
#FFFFFF1.921.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB745
Deuteranopia (green-blind)
#D2BE56
Tritanopia (blue-blind)
#DEAFA5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfbc51;
/* rgb */ color: rgb(207, 188, 81);
/* oklch */ color: oklch(79.1% 0.128 99.3);
Tailwind
colors: {
  custom: {
    50: '#e1cf86',
    500: '#cfbc51',
    950: '#000000',
  },
}
SCSS
$custom: #cfbc51;
$custom-light: #e1cf86;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbc51",
  "rgb": {
    "r": 207,
    "g": 188,
    "b": 81
  },
  "hsl": {
    "h": 50.952,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79071,
    "c": 0.12849,
    "h": 99.3
  },
  "luminance": 0.49826
}

Semantic roles & 50–950 ramp

primary
#CFBC51
secondary
#A4ACD8
accent
#5FE048
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFBC51

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

Preview Lab → · Contrast checker → · Palette generator →

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