#CBCF52#CBCF52

#CBCF52 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.8% C 0.147 H 110.9°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#CBCF52
RGBrgb(203, 207, 82)
HSLhsl(62, 57%, 57%)
HSVhsv(62, 60%, 81%)
CMYKcmyk(1.9%, 0%, 60.4%, 18.8%)
CIE-LABlab(80.70, -17.36, 59.86)
CIE-LCHlch(80.70, 62.33, 106.17°)
OKLaboklab(82.76% -0.0524 0.1369)
OKLCHoklch(82.76% 0.147 110.9)
XYZxyz(48.4658, 57.9325, 16.6100)
Luminance0.5793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCF52 #5652CF
analogous
#CF9552 #CBCF52 #8DCF52
triadic
#CBCF52 #52CBCF #CF52CB
tetradic
#CBCF52 #52CF95 #5652CF #CF528D
square
#CBCF52 #52CF95 #5652CF #CF528D
split-complementary
#CBCF52 #528DCF #9552CF
monochromatic
#7F8224 #AEB231 #CBCF52 #D9DC82 #E8EAB2

Accessibility & contrast

On white

1.67
#CBCF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#CBCF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCF52
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCF52#FFFFFF#000000##000000
##CBCF521.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC643
Deuteranopia (green-blind)
#DFCA5A
Tritanopia (blue-blind)
#D8C3B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cbcf52;
/* rgb */ color: rgb(203, 207, 82);
/* oklch */ color: oklch(82.8% 0.147 110.9);
Tailwind
colors: {
  custom: {
    50: '#dedd88',
    500: '#cbcf52',
    950: '#000000',
  },
}
SCSS
$custom: #cbcf52;
$custom-light: #dedd88;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcf52",
  "rgb": {
    "r": 203,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 61.92,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82764,
    "c": 0.14658,
    "h": 110.9
  },
  "luminance": 0.57931
}

Semantic roles & 50–950 ramp

primary
#CBCF52
secondary
#3E3C8A
accent
#48E04D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBCF52

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

Preview Lab → · Contrast checker → · Palette generator →

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