#CBC24A#CBC24A

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

Color values

HEX#CBC24A
RGBrgb(203, 194, 74)
HSLhsl(56, 55%, 54%)
HSVhsv(56, 64%, 80%)
CMYKcmyk(0%, 4.4%, 63.5%, 20.4%)
CIE-LABlab(77.15, -11.34, 59.43)
CIE-LCHlch(77.15, 60.50, 100.80°)
OKLaboklab(79.91% -0.0362 0.1349)
OKLCHoklch(79.91% 0.14 105)
XYZxyz(45.1581, 51.7761, 14.0923)
Luminance0.5177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC24A #4A53CB
analogous
#CB824A #CBC24A #94CB4A
triadic
#CBC24A #4ACBC2 #C24ACB
tetradic
#CBC24A #4ACB82 #4A53CB #CB4A94
square
#CBC24A #4ACB82 #4A53CB #CB4A94
split-complementary
#CBC24A #4A94CB #824ACB
monochromatic
#787223 #A89F30 #CBC24A #D9D27A #E6E2A9

Accessibility & contrast

On white

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

On black

11.35
#CBC24A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC24A
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC24A#FFFFFF#000000##000000
##CBC24A1.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB3B
Deuteranopia (green-blind)
#D5C151
Tritanopia (blue-blind)
#D9B6A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cbc24a;
/* rgb */ color: rgb(203, 194, 74);
/* oklch */ color: oklch(79.9% 0.140 105.0);
Tailwind
colors: {
  custom: {
    50: '#ded482',
    500: '#cbc24a',
    950: '#000000',
  },
}
SCSS
$custom: #cbc24a;
$custom-light: #ded482;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc24a",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 74
  },
  "hsl": {
    "h": 55.814,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79909,
    "c": 0.13963,
    "h": 105
  },
  "luminance": 0.51774
}

Semantic roles & 50–950 ramp

primary
#CBC24A
secondary
#393E80
accent
#54DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC24A

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

Preview Lab → · Contrast checker → · Palette generator →

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