#CBC34B#CBC34B

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

Color values

HEX#CBC34B
RGBrgb(203, 195, 75)
HSLhsl(56, 55%, 55%)
HSVhsv(56, 63%, 80%)
CMYKcmyk(0%, 3.9%, 63.1%, 20.4%)
CIE-LABlab(77.42, -11.79, 59.30)
CIE-LCHlch(77.42, 60.46, 101.24°)
OKLaboklab(80.13% -0.0373 0.1347)
OKLCHoklch(80.13% 0.14 105.5)
XYZxyz(45.4153, 52.2363, 14.3456)
Luminance0.5223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC34B #4B53CB
analogous
#CB834B #CBC34B #93CB4B
triadic
#CBC34B #4BCBC3 #C34BCB
tetradic
#CBC34B #4BCB83 #4B53CB #CB4B93
square
#CBC34B #4BCB83 #4B53CB #CB4B93
split-complementary
#CBC34B #4B93CB #834BCB
monochromatic
#797323 #A8A131 #CBC34B #D9D37A #E6E3AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC34B#FFFFFF#000000##000000
##CBC34B1.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)
#D3BC3C
Deuteranopia (green-blind)
#D6C252
Tritanopia (blue-blind)
#D9B7AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc34b;
/* rgb */ color: rgb(203, 195, 75);
/* oklch */ color: oklch(80.1% 0.140 105.5);
Tailwind
colors: {
  custom: {
    50: '#ded483',
    500: '#cbc34b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc34b;
$custom-light: #ded483;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc34b",
  "rgb": {
    "r": 203,
    "g": 195,
    "b": 75
  },
  "hsl": {
    "h": 56.25,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.8013,
    "c": 0.13982,
    "h": 105.5
  },
  "luminance": 0.52235
}

Semantic roles & 50–950 ramp

primary
#CBC34B
secondary
#393E81
accent
#53DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC34B

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

Preview Lab → · Contrast checker → · Palette generator →

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