#CBC34E#CBC34E

#CBC34E is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.2% C 0.137 H 105.4°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#CBC34E
RGBrgb(203, 195, 78)
HSLhsl(56, 55%, 55%)
HSVhsv(56, 62%, 80%)
CMYKcmyk(0%, 3.9%, 61.6%, 20.4%)
CIE-LABlab(77.45, -11.59, 58.05)
CIE-LCHlch(77.45, 59.20, 101.29°)
OKLaboklab(80.16% -0.0365 0.1325)
OKLCHoklch(80.16% 0.137 105.4)
XYZxyz(45.5204, 52.2783, 14.8992)
Luminance0.5228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC34E #4E56CB
analogous
#CB844E #CBC34E #94CB4E
triadic
#CBC34E #4ECBC3 #C34ECB
tetradic
#CBC34E #4ECB84 #4E56CB #CB4E94
square
#CBC34E #4ECB84 #4E56CB #CB4E94
split-complementary
#CBC34E #4E94CB #844ECB
monochromatic
#7B7524 #AAA232 #CBC34E #D9D37D #E7E3AD

Accessibility & contrast

On white

1.83
#CBC34E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#CBC34E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC34E
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC34E#FFFFFF#000000##000000
##CBC34E1.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC40
Deuteranopia (green-blind)
#D6C255
Tritanopia (blue-blind)
#D9B7AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc34e;
/* rgb */ color: rgb(203, 195, 78);
/* oklch */ color: oklch(80.2% 0.137 105.4);
Tailwind
colors: {
  custom: {
    50: '#ded485',
    500: '#cbc34e',
    950: '#000000',
  },
}
SCSS
$custom: #cbc34e;
$custom-light: #ded485;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc34e",
  "rgb": {
    "r": 203,
    "g": 195,
    "b": 78
  },
  "hsl": {
    "h": 56.16,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80158,
    "c": 0.13745,
    "h": 105.4
  },
  "luminance": 0.52277
}

Semantic roles & 50–950 ramp

primary
#CBC34E
secondary
#3A3F83
accent
#53DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC34E

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

Preview Lab → · Contrast checker → · Palette generator →

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