#CFCB52#CFCB52

#CFCB52 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.2% C 0.142 H 107.4°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#CFCB52
RGBrgb(207, 203, 82)
HSLhsl(58, 57%, 57%)
HSVhsv(58, 60%, 81%)
CMYKcmyk(0%, 1.9%, 60.4%, 18.8%)
CIE-LABlab(79.95, -13.71, 59.14)
CIE-LCHlch(79.95, 60.71, 103.05°)
OKLaboklab(82.24% -0.0423 0.1353)
OKLCHoklch(82.24% 0.142 107.4)
XYZxyz(48.6126, 56.5879, 16.3428)
Luminance0.5659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCB52 #5256CF
analogous
#CF8D52 #CFCB52 #95CF52
triadic
#CFCB52 #52CFCB #CB52CF
tetradic
#CFCB52 #52CF8D #5256CF #CF5295
square
#CFCB52 #52CF8D #5256CF #CF5295
split-complementary
#CFCB52 #5295CF #8D52CF
monochromatic
#827F24 #B2AE31 #CFCB52 #DCD982 #EAE8B2

Accessibility & contrast

On white

1.70
#CFCB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#CFCB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCB52
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCB52#FFFFFF#000000##000000
##CFCB521.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC444
Deuteranopia (green-blind)
#DDC859
Tritanopia (blue-blind)
#DDBFB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfcb52;
/* rgb */ color: rgb(207, 203, 82);
/* oklch */ color: oklch(82.2% 0.142 107.4);
Tailwind
colors: {
  custom: {
    50: '#e0da88',
    500: '#cfcb52',
    950: '#000000',
  },
}
SCSS
$custom: #cfcb52;
$custom-light: #e0da88;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcb52",
  "rgb": {
    "r": 207,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 58.08,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.8224,
    "c": 0.14173,
    "h": 107.4
  },
  "luminance": 0.56586
}

Semantic roles & 50–950 ramp

primary
#CFCB52
secondary
#3C3E8A
accent
#4DE048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFCB52

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

Preview Lab → · Contrast checker → · Palette generator →

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