#CBCB4E#CBCB4E

#CBCB4E is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.9% C 0.146 H 109.2°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#CBCB4E
RGBrgb(203, 203, 78)
HSLhsl(60, 55%, 55%)
HSVhsv(60, 62%, 80%)
CMYKcmyk(0%, 0%, 61.6%, 20.4%)
CIE-LABlab(79.59, -15.63, 60.35)
CIE-LCHlch(79.59, 62.35, 104.52°)
OKLaboklab(81.87% -0.0479 0.1374)
OKLCHoklch(81.87% 0.146 109.2)
XYZxyz(47.3611, 55.9597, 15.5127)
Luminance0.5596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCB4E #4E4ECB
analogous
#CB8C4E #CBCB4E #8CCB4E
triadic
#CBCB4E #4ECBCB #CB4ECB
tetradic
#CBCB4E #4ECB8C #4E4ECB #CB4E8C
square
#CBCB4E #4ECB8C #4E4ECB #CB4E8C
split-complementary
#CBCB4E #4E8CCB #8C4ECB
monochromatic
#7B7B24 #AAAA32 #CBCB4E #D9D97D #E7E7AD

Accessibility & contrast

On white

1.72
#CBCB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#CBCB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCB4E
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCB4E#FFFFFF#000000##000000
##CBCB4E1.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC33F
Deuteranopia (green-blind)
#DCC756
Tritanopia (blue-blind)
#D9BFB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbcb4e;
/* rgb */ color: rgb(203, 203, 78);
/* oklch */ color: oklch(81.9% 0.146 109.2);
Tailwind
colors: {
  custom: {
    50: '#deda85',
    500: '#cbcb4e',
    950: '#000000',
  },
}
SCSS
$custom: #cbcb4e;
$custom-light: #deda85;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcb4e",
  "rgb": {
    "r": 203,
    "g": 203,
    "b": 78
  },
  "hsl": {
    "h": 60,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81867,
    "c": 0.14551,
    "h": 109.2
  },
  "luminance": 0.55958
}

Semantic roles & 50–950 ramp

primary
#CBCB4E
secondary
#3A3A83
accent
#4ADE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBCB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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