#CBC34C#CBC34C

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

Color values

HEX#CBC34C
RGBrgb(203, 195, 76)
HSLhsl(56, 55%, 55%)
HSVhsv(56, 63%, 80%)
CMYKcmyk(0%, 3.9%, 62.6%, 20.4%)
CIE-LABlab(77.43, -11.72, 58.89)
CIE-LCHlch(77.43, 60.05, 101.26°)
OKLaboklab(80.14% -0.0371 0.134)
OKLCHoklch(80.14% 0.139 105.5)
XYZxyz(45.4498, 52.2501, 14.5272)
Luminance0.5225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC34C #4C54CB
analogous
#CB834C #CBC34C #94CB4C
triadic
#CBC34C #4CCBC3 #C34CCB
tetradic
#CBC34C #4CCB83 #4C54CB #CB4C94
square
#CBC34C #4CCB83 #4C54CB #CB4C94
split-complementary
#CBC34C #4C94CB #834CCB
monochromatic
#797423 #A9A131 #CBC34C #D9D37B #E7E3AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC34C#FFFFFF#000000##000000
##CBC34C1.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)
#D3BC3E
Deuteranopia (green-blind)
#D6C253
Tritanopia (blue-blind)
#D9B7AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc34c;
/* rgb */ color: rgb(203, 195, 76);
/* oklch */ color: oklch(80.1% 0.139 105.5);
Tailwind
colors: {
  custom: {
    50: '#ded483',
    500: '#cbc34c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc34c;
$custom-light: #ded483;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc34c",
  "rgb": {
    "r": 203,
    "g": 195,
    "b": 76
  },
  "hsl": {
    "h": 56.22,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80139,
    "c": 0.13904,
    "h": 105.5
  },
  "luminance": 0.52249
}

Semantic roles & 50–950 ramp

primary
#CBC34C
secondary
#3A3E82
accent
#53DE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC34C

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

Preview Lab → · Contrast checker → · Palette generator →

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