#CBC22E#CBC22E

#CBC22E is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.7% C 0.157 H 105.8°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#CBC22E
RGBrgb(203, 194, 46)
HSLhsl(57, 63%, 49%)
HSVhsv(57, 77%, 80%)
CMYKcmyk(0%, 4.4%, 77.3%, 20.4%)
CIE-LABlab(76.97, -12.72, 69.51)
CIE-LCHlch(76.97, 70.67, 100.37°)
OKLaboklab(79.71% -0.0429 0.1514)
OKLCHoklch(79.71% 0.157 105.8)
XYZxyz(44.4154, 51.4790, 10.1811)
Luminance0.5148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC22E #2E37CB
analogous
#CB742E #CBC22E #85CB2E
triadic
#CBC22E #2ECBC2 #C22ECB
tetradic
#CBC22E #2ECB74 #2E37CB #CB2E85
square
#CBC22E #2ECB74 #2E37CB #CB2E85
split-complementary
#CBC22E #2E85CB #742ECB
monochromatic
#676317 #999223 #CBC22E #DAD35C #E5E08E

Accessibility & contrast

On white

1.86
#CBC22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#CBC22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC22E
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC22E#FFFFFF#000000##000000
##CBC22E1.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB02
Deuteranopia (green-blind)
#D7C13A
Tritanopia (blue-blind)
#DAB5A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cbc22e;
/* rgb */ color: rgb(203, 194, 46);
/* oklch */ color: oklch(79.7% 0.157 105.8);
Tailwind
colors: {
  custom: {
    50: '#dfd473',
    500: '#cbc22e',
    950: '#000000',
  },
}
SCSS
$custom: #cbc22e;
$custom-light: #dfd473;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc22e",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 46
  },
  "hsl": {
    "h": 56.561,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.7971,
    "c": 0.15732,
    "h": 105.8
  },
  "luminance": 0.51477
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC22E

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

Preview Lab → · Contrast checker → · Palette generator →

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