#CBC34D#CBC34D

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

Color values

HEX#CBC34D
RGBrgb(203, 195, 77)
HSLhsl(56, 55%, 55%)
HSVhsv(56, 62%, 80%)
CMYKcmyk(0%, 3.9%, 62.1%, 20.4%)
CIE-LABlab(77.44, -11.66, 58.47)
CIE-LCHlch(77.44, 59.62, 101.28°)
OKLaboklab(80.15% -0.0368 0.1333)
OKLCHoklch(80.15% 0.138 105.4)
XYZxyz(45.4849, 52.2641, 14.7118)
Luminance0.5226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC34D #4D55CB
analogous
#CB844D #CBC34D #94CB4D
triadic
#CBC34D #4DCBC3 #C34DCB
tetradic
#CBC34D #4DCB84 #4D55CB #CB4D94
square
#CBC34D #4DCB84 #4D55CB #CB4D94
split-complementary
#CBC34D #4D94CB #844DCB
monochromatic
#7A7424 #A9A231 #CBC34D #D9D37C #E7E3AC

Accessibility & contrast

On white

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

On black

11.45
#CBC34D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC34D
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC34D#FFFFFF#000000##000000
##CBC34D1.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc34d;
/* rgb */ color: rgb(203, 195, 77);
/* oklch */ color: oklch(80.1% 0.138 105.4);
Tailwind
colors: {
  custom: {
    50: '#ded484',
    500: '#cbc34d',
    950: '#000000',
  },
}
SCSS
$custom: #cbc34d;
$custom-light: #ded484;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc34d",
  "rgb": {
    "r": 203,
    "g": 195,
    "b": 77
  },
  "hsl": {
    "h": 56.19,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80149,
    "c": 0.13825,
    "h": 105.4
  },
  "luminance": 0.52263
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC34D

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

Preview Lab → · Contrast checker → · Palette generator →

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