#CBC34A#CBC34A

#CBC34A is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.1% C 0.141 H 105.5°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#CBC34A
RGBrgb(203, 195, 74)
HSLhsl(56, 55%, 54%)
HSVhsv(56, 64%, 80%)
CMYKcmyk(0%, 3.9%, 63.5%, 20.4%)
CIE-LABlab(77.41, -11.85, 59.71)
CIE-LCHlch(77.41, 60.88, 101.22°)
OKLaboklab(80.12% -0.0376 0.1355)
OKLCHoklch(80.12% 0.141 105.5)
XYZxyz(45.3814, 52.2227, 14.1667)
Luminance0.5222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC34A #4A52CB
analogous
#CB834A #CBC34A #93CB4A
triadic
#CBC34A #4ACBC3 #C34ACB
tetradic
#CBC34A #4ACB83 #4A52CB #CB4A93
square
#CBC34A #4ACB83 #4A52CB #CB4A93
split-complementary
#CBC34A #4A93CB #834ACB
monochromatic
#787323 #A8A030 #CBC34A #D9D37A #E6E3A9

Accessibility & contrast

On white

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

On black

11.44
#CBC34A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC34A
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC34A#FFFFFF#000000##000000
##CBC34A1.001.8311.4411.44
#FFFFFF1.831.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc34a;
/* rgb */ color: rgb(203, 195, 74);
/* oklch */ color: oklch(80.1% 0.141 105.5);
Tailwind
colors: {
  custom: {
    50: '#ded482',
    500: '#cbc34a',
    950: '#000000',
  },
}
SCSS
$custom: #cbc34a;
$custom-light: #ded482;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc34a",
  "rgb": {
    "r": 203,
    "g": 195,
    "b": 74
  },
  "hsl": {
    "h": 56.279,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80121,
    "c": 0.14059,
    "h": 105.5
  },
  "luminance": 0.52221
}

Semantic roles & 50–950 ramp

primary
#CBC34A
secondary
#393D80
accent
#52DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC34A

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

Preview Lab → · Contrast checker → · Palette generator →

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