#CFBC52#CFBC52

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

Color values

HEX#CFBC52
RGBrgb(207, 188, 82)
HSLhsl(51, 57%, 57%)
HSVhsv(51, 60%, 81%)
CMYKcmyk(0%, 9.2%, 60.4%, 18.8%)
CIE-LABlab(75.97, -6.04, 54.78)
CIE-LCHlch(75.97, 55.11, 96.30°)
OKLaboklab(79.08% -0.0204 0.126)
OKLCHoklch(79.08% 0.128 99.2)
XYZxyz(45.2401, 49.8430, 15.2187)
Luminance0.4984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBC52 #5265CF
analogous
#CF7E52 #CFBC52 #A4CF52
triadic
#CFBC52 #52CFBC #BC52CF
tetradic
#CFBC52 #52CF7E #5265CF #CF52A4
square
#CFBC52 #52CF7E #5265CF #CF52A4
split-complementary
#CFBC52 #52A4CF #7E52CF
monochromatic
#827424 #B29F31 #CFBC52 #DCCF82 #EAE1B2

Accessibility & contrast

On white

1.91
#CFBC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBC52#FFFFFF#000000##000000
##CFBC521.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB747
Deuteranopia (green-blind)
#D2BE57
Tritanopia (blue-blind)
#DEB0A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfbc52;
/* rgb */ color: rgb(207, 188, 82);
/* oklch */ color: oklch(79.1% 0.128 99.2);
Tailwind
colors: {
  custom: {
    50: '#e1cf87',
    500: '#cfbc52',
    950: '#000000',
  },
}
SCSS
$custom: #cfbc52;
$custom-light: #e1cf87;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbc52",
  "rgb": {
    "r": 207,
    "g": 188,
    "b": 82
  },
  "hsl": {
    "h": 50.88,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79081,
    "c": 0.12766,
    "h": 99.2
  },
  "luminance": 0.49841
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFBC52

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

Preview Lab → · Contrast checker → · Palette generator →

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