#CFBB52#CFBB52

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

Color values

HEX#CFBB52
RGBrgb(207, 187, 82)
HSLhsl(50, 57%, 57%)
HSVhsv(50, 60%, 81%)
CMYKcmyk(0%, 9.7%, 60.4%, 18.8%)
CIE-LABlab(75.71, -5.53, 54.49)
CIE-LCHlch(75.71, 54.77, 95.79°)
OKLaboklab(78.87% -0.0189 0.1254)
OKLCHoklch(78.87% 0.127 98.6)
XYZxyz(45.0272, 49.4172, 15.1477)
Luminance0.4941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBB52 #5266CF
analogous
#CF7D52 #CFBB52 #A5CF52
triadic
#CFBB52 #52CFBB #BB52CF
tetradic
#CFBB52 #52CF7D #5266CF #CF52A5
square
#CFBB52 #52CF7D #5266CF #CF52A5
split-complementary
#CFBB52 #52A5CF #7D52CF
monochromatic
#827324 #B29E31 #CFBB52 #DCCE82 #EAE1B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBB52#FFFFFF#000000##000000
##CFBB521.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)
#CCB647
Deuteranopia (green-blind)
#D1BE57
Tritanopia (blue-blind)
#DEAFA4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfbb52;
/* rgb */ color: rgb(207, 187, 82);
/* oklch */ color: oklch(78.9% 0.127 98.6);
Tailwind
colors: {
  custom: {
    50: '#e1cf86',
    500: '#cfbb52',
    950: '#000000',
  },
}
SCSS
$custom: #cfbb52;
$custom-light: #e1cf86;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbb52",
  "rgb": {
    "r": 207,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 50.4,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78873,
    "c": 0.12681,
    "h": 98.6
  },
  "luminance": 0.49415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFBB52

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

Preview Lab → · Contrast checker → · Palette generator →

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