#CBC12E#CBC12E

#CBC12E is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.5% C 0.156 H 105.4°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#CBC12E
RGBrgb(203, 193, 46)
HSLhsl(56, 63%, 49%)
HSVhsv(56, 77%, 80%)
CMYKcmyk(0%, 4.9%, 77.3%, 20.4%)
CIE-LABlab(76.70, -12.21, 69.27)
CIE-LCHlch(76.70, 70.34, 100.00°)
OKLaboklab(79.5% -0.0414 0.1509)
OKLCHoklch(79.5% 0.156 105.4)
XYZxyz(44.1936, 51.0354, 10.1072)
Luminance0.5103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC12E #2E38CB
analogous
#CB732E #CBC12E #87CB2E
triadic
#CBC12E #2ECBC1 #C12ECB
tetradic
#CBC12E #2ECB73 #2E38CB #CB2E87
square
#CBC12E #2ECB73 #2E38CB #CB2E87
split-complementary
#CBC12E #2E87CB #732ECB
monochromatic
#676217 #999223 #CBC12E #DAD25C #E5E08E

Accessibility & contrast

On white

1.87
#CBC12E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#CBC12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC12E
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC12E#FFFFFF#000000##000000
##CBC12E1.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA03
Deuteranopia (green-blind)
#D6C03A
Tritanopia (blue-blind)
#DAB3A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cbc12e;
/* rgb */ color: rgb(203, 193, 46);
/* oklch */ color: oklch(79.5% 0.156 105.4);
Tailwind
colors: {
  custom: {
    50: '#dfd373',
    500: '#cbc12e',
    950: '#000000',
  },
}
SCSS
$custom: #cbc12e;
$custom-light: #dfd373;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc12e",
  "rgb": {
    "r": 203,
    "g": 193,
    "b": 46
  },
  "hsl": {
    "h": 56.178,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79496,
    "c": 0.15644,
    "h": 105.4
  },
  "luminance": 0.51034
}

Semantic roles & 50–950 ramp

primary
#CBC12E
secondary
#2C3071
accent
#4CE642
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CBC12E

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

Preview Lab → · Contrast checker → · Palette generator →

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