#CBC43B#CBC43B

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

Color values

HEX#CBC43B
RGBrgb(203, 196, 59)
HSLhsl(57, 58%, 51%)
HSVhsv(57, 71%, 80%)
CMYKcmyk(0%, 3.4%, 70.9%, 20.4%)
CIE-LABlab(77.58, -13.18, 65.74)
CIE-LCHlch(77.58, 67.05, 101.34°)
OKLaboklab(80.22% -0.043 0.1457)
OKLCHoklch(80.22% 0.152 106.4)
XYZxyz(45.1597, 52.4937, 11.8903)
Luminance0.5249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC43B #3B42CB
analogous
#CB7C3B #CBC43B #8ACB3B
triadic
#CBC43B #3BCBC4 #C43BCB
tetradic
#CBC43B #3BCB7C #3B42CB #CB3B8A
square
#CBC43B #3BCB7C #3B42CB #CB3B8A
split-complementary
#CBC43B #3B8ACB #7C3BCB
monochromatic
#6E6A1D #9F992A #CBC43B #D8D36B #E5E19C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC43B#FFFFFF#000000##000000
##CBC43B1.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)
#D5BD23
Deuteranopia (green-blind)
#D8C245
Tritanopia (blue-blind)
#DAB7A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc43b;
/* rgb */ color: rgb(203, 196, 59);
/* oklch */ color: oklch(80.2% 0.152 106.4);
Tailwind
colors: {
  custom: {
    50: '#ded57a',
    500: '#cbc43b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc43b;
$custom-light: #ded57a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc43b",
  "rgb": {
    "r": 203,
    "g": 196,
    "b": 59
  },
  "hsl": {
    "h": 57.083,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.80216,
    "c": 0.15193,
    "h": 106.4
  },
  "luminance": 0.52492
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC43B

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

Preview Lab → · Contrast checker → · Palette generator →

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