#CBC24C#CBC24C

#CBC24C is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.9% C 0.138 H 104.9°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#CBC24C
RGBrgb(203, 194, 76)
HSLhsl(56, 55%, 55%)
HSVhsv(56, 63%, 80%)
CMYKcmyk(0%, 4.4%, 62.6%, 20.4%)
CIE-LABlab(77.16, -11.21, 58.60)
CIE-LCHlch(77.16, 59.67, 100.83°)
OKLaboklab(79.93% -0.0356 0.1334)
OKLCHoklch(79.93% 0.138 104.9)
XYZxyz(45.2265, 51.8035, 14.4528)
Luminance0.5180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC24C #4C55CB
analogous
#CB834C #CBC24C #95CB4C
triadic
#CBC24C #4CCBC2 #C24CCB
tetradic
#CBC24C #4CCB83 #4C55CB #CB4C95
square
#CBC24C #4CCB83 #4C55CB #CB4C95
split-complementary
#CBC24C #4C95CB #834CCB
monochromatic
#797323 #A9A031 #CBC24C #D9D27B #E7E2AB

Accessibility & contrast

On white

1.85
#CBC24C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#CBC24C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC24C
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC24C#FFFFFF#000000##000000
##CBC24C1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB3E
Deuteranopia (green-blind)
#D5C153
Tritanopia (blue-blind)
#D9B6A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc24c;
/* rgb */ color: rgb(203, 194, 76);
/* oklch */ color: oklch(79.9% 0.138 104.9);
Tailwind
colors: {
  custom: {
    50: '#ded483',
    500: '#cbc24c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc24c;
$custom-light: #ded483;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc24c",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 76
  },
  "hsl": {
    "h": 55.748,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79927,
    "c": 0.13808,
    "h": 104.9
  },
  "luminance": 0.51802
}

Semantic roles & 50–950 ramp

primary
#CBC24C
secondary
#3A3F82
accent
#54DE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC24C

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

Preview Lab → · Contrast checker → · Palette generator →

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