#CBCF56#CBCF56

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

Color values

HEX#CBCF56
RGBrgb(203, 207, 86)
HSLhsl(62, 56%, 57%)
HSVhsv(62, 58%, 81%)
CMYKcmyk(1.9%, 0%, 58.5%, 18.8%)
CIE-LABlab(80.74, -17.08, 58.18)
CIE-LCHlch(80.74, 60.64, 106.36°)
OKLaboklab(82.8% -0.0512 0.1339)
OKLCHoklch(82.8% 0.143 110.9)
XYZxyz(48.6224, 57.9952, 17.4352)
Luminance0.5799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCF56 #5A56CF
analogous
#CF9656 #CBCF56 #8FCF56
triadic
#CBCF56 #56CBCF #CF56CB
tetradic
#CBCF56 #56CF96 #5A56CF #CF568F
square
#CBCF56 #56CF96 #5A56CF #CF568F
split-complementary
#CBCF56 #568FCF #9656CF
monochromatic
#828526 #B0B533 #CBCF56 #DADD86 #E8EAB5

Accessibility & contrast

On white

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

On black

12.60
#CBCF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCF56
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCF56#FFFFFF#000000##000000
##CBCF561.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbcf56;
/* rgb */ color: rgb(203, 207, 86);
/* oklch */ color: oklch(82.8% 0.143 110.9);
Tailwind
colors: {
  custom: {
    50: '#dddd8a',
    500: '#cbcf56',
    950: '#000000',
  },
}
SCSS
$custom: #cbcf56;
$custom-light: #dddd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcf56",
  "rgb": {
    "r": 203,
    "g": 207,
    "b": 86
  },
  "hsl": {
    "h": 61.983,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82803,
    "c": 0.1433,
    "h": 110.9
  },
  "luminance": 0.57994
}

Semantic roles & 50–950 ramp

primary
#CBCF56
secondary
#403D8C
accent
#49DF4E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBCF56

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

Preview Lab → · Contrast checker → · Palette generator →

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