#CBCF5B#CBCF5B

#CBCF5B is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 82.9% C 0.139 H 110.9°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#CBCF5B
RGBrgb(203, 207, 91)
HSLhsl(62, 55%, 58%)
HSVhsv(62, 56%, 81%)
CMYKcmyk(1.9%, 0%, 56%, 18.8%)
CIE-LABlab(80.78, -16.71, 56.03)
CIE-LCHlch(80.78, 58.47, 106.61°)
OKLaboklab(82.86% -0.0496 0.1299)
OKLCHoklch(82.86% 0.139 110.9)
XYZxyz(48.8310, 58.0786, 18.5335)
Luminance0.5808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCF5B #5F5BCF
analogous
#CF995B #CBCF5B #91CF5B
triadic
#CBCF5B #5BCBCF #CF5BCB
tetradic
#CBCF5B #5BCF99 #5F5BCF #CF5B91
square
#CBCF5B #5BCF99 #5F5BCF #CF5B91
split-complementary
#CBCF5B #5B91CF #995BCF
monochromatic
#858828 #B3B736 #CBCF5B #DADD8A #E9EBBA

Accessibility & contrast

On white

1.66
#CBCF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#CBCF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCF5B
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCF5B#FFFFFF#000000##000000
##CBCF5B1.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC74F
Deuteranopia (green-blind)
#DECA62
Tritanopia (blue-blind)
#D8C4B6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cbcf5b;
/* rgb */ color: rgb(203, 207, 91);
/* oklch */ color: oklch(82.9% 0.139 110.9);
Tailwind
colors: {
  custom: {
    50: '#dddd8d',
    500: '#cbcf5b',
    950: '#000000',
  },
}
SCSS
$custom: #cbcf5b;
$custom-light: #dddd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcf5b",
  "rgb": {
    "r": 203,
    "g": 207,
    "b": 91
  },
  "hsl": {
    "h": 62.069,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82855,
    "c": 0.13901,
    "h": 110.9
  },
  "luminance": 0.58077
}

Semantic roles & 50–950 ramp

primary
#CBCF5B
secondary
#42408F
accent
#4ADE4F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBCF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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