#CBC24F#CBC24F

#CBC24F is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.0% C 0.136 H 104.8°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#CBC24F
RGBrgb(203, 194, 79)
HSLhsl(56, 54%, 55%)
HSVhsv(56, 61%, 80%)
CMYKcmyk(0%, 4.4%, 61.1%, 20.4%)
CIE-LABlab(77.19, -11.02, 57.34)
CIE-LCHlch(77.19, 58.39, 100.88°)
OKLaboklab(79.96% -0.0347 0.1312)
OKLCHoklch(79.96% 0.136 104.8)
XYZxyz(45.3333, 51.8462, 15.0150)
Luminance0.5184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC24F #4F58CB
analogous
#CB844F #CBC24F #96CB4F
triadic
#CBC24F #4FCBC2 #C24FCB
tetradic
#CBC24F #4FCB84 #4F58CB #CB4F96
square
#CBC24F #4FCB84 #4F58CB #CB4F96
split-complementary
#CBC24F #4F96CB #844FCB
monochromatic
#7B7524 #AAA232 #CBC24F #D9D27E #E7E3AD

Accessibility & contrast

On white

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

On black

11.37
#CBC24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC24F
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC24F#FFFFFF#000000##000000
##CBC24F1.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC42
Deuteranopia (green-blind)
#D5C155
Tritanopia (blue-blind)
#D9B6AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc24f;
/* rgb */ color: rgb(203, 194, 79);
/* oklch */ color: oklch(80.0% 0.136 104.8);
Tailwind
colors: {
  custom: {
    50: '#ded485',
    500: '#cbc24f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc24f;
$custom-light: #ded485;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc24f",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 79
  },
  "hsl": {
    "h": 55.645,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79956,
    "c": 0.13567,
    "h": 104.8
  },
  "luminance": 0.51845
}

Semantic roles & 50–950 ramp

primary
#CBC24F
secondary
#3B4083
accent
#55DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC24F

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

Preview Lab → · Contrast checker → · Palette generator →

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