#CBC04E#CBC04E

#CBC04E is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.5% C 0.135 H 103.8°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#CBC04E
RGBrgb(203, 192, 78)
HSLhsl(55, 55%, 55%)
HSVhsv(55, 62%, 80%)
CMYKcmyk(0%, 5.4%, 61.6%, 20.4%)
CIE-LABlab(76.65, -10.06, 57.19)
CIE-LCHlch(76.65, 58.07, 99.98°)
OKLaboklab(79.52% -0.0321 0.1307)
OKLCHoklch(79.52% 0.135 103.8)
XYZxyz(44.8550, 50.9475, 14.6773)
Luminance0.5095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC04E #4E59CB
analogous
#CB814E #CBC04E #97CB4E
triadic
#CBC04E #4ECBC0 #C04ECB
tetradic
#CBC04E #4ECB81 #4E59CB #CB4E97
square
#CBC04E #4ECB81 #4E59CB #CB4E97
split-complementary
#CBC04E #4E97CB #814ECB
monochromatic
#7B7324 #AA9F32 #CBC04E #D9D17D #E7E2AD

Accessibility & contrast

On white

1.88
#CBC04E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#CBC04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC04E
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC04E#FFFFFF#000000##000000
##CBC04E1.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA41
Deuteranopia (green-blind)
#D4C054
Tritanopia (blue-blind)
#D9B4A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cbc04e;
/* rgb */ color: rgb(203, 192, 78);
/* oklch */ color: oklch(79.5% 0.135 103.8);
Tailwind
colors: {
  custom: {
    50: '#ded284',
    500: '#cbc04e',
    950: '#000000',
  },
}
SCSS
$custom: #cbc04e;
$custom-light: #ded284;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc04e",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 78
  },
  "hsl": {
    "h": 54.72,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79522,
    "c": 0.13458,
    "h": 103.8
  },
  "luminance": 0.50946
}

Semantic roles & 50–950 ramp

primary
#CBC04E
secondary
#3A4183
accent
#57DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC04E

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

Preview Lab → · Contrast checker → · Palette generator →

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