#CBC43C#CBC43C

#CBC43C is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.2% C 0.151 H 106.4°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#CBC43C
RGBrgb(203, 196, 60)
HSLhsl(57, 58%, 52%)
HSVhsv(57, 70%, 80%)
CMYKcmyk(0%, 3.4%, 70.4%, 20.4%)
CIE-LABlab(77.58, -13.13, 65.38)
CIE-LCHlch(77.58, 66.69, 101.36°)
OKLaboklab(80.22% -0.0427 0.1452)
OKLCHoklch(80.22% 0.151 106.4)
XYZxyz(45.1859, 52.5042, 12.0282)
Luminance0.5250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC43C #3C43CB
analogous
#CB7D3C #CBC43C #8BCB3C
triadic
#CBC43C #3CCBC4 #C43CCB
tetradic
#CBC43C #3CCB7D #3C43CB #CB3C8B
square
#CBC43C #3CCB7D #3C43CB #CB3C8B
split-complementary
#CBC43C #3C8BCB #7D3CCB
monochromatic
#6F6B1E #9F9A2A #CBC43C #D8D36C #E5E19D

Accessibility & contrast

On white

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

On black

11.50
#CBC43C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC43C
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC43C#FFFFFF#000000##000000
##CBC43C1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD25
Deuteranopia (green-blind)
#D8C246
Tritanopia (blue-blind)
#DAB7A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc43c;
/* rgb */ color: rgb(203, 196, 60);
/* oklch */ color: oklch(80.2% 0.151 106.4);
Tailwind
colors: {
  custom: {
    50: '#ded57a',
    500: '#cbc43c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc43c;
$custom-light: #ded57a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc43c",
  "rgb": {
    "r": 203,
    "g": 196,
    "b": 60
  },
  "hsl": {
    "h": 57.063,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80223,
    "c": 0.15131,
    "h": 106.4
  },
  "luminance": 0.52503
}

Semantic roles & 50–950 ramp

primary
#CBC43C
secondary
#333678
accent
#4EE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC43C

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

Preview Lab → · Contrast checker → · Palette generator →

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