#CBE462#CBE462

#CBE462 is a very light, vivid yellow-green. Relative luminance 0.691; OKLCH L 87.5% C 0.158 H 118.9°. Best body text is #000000 at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#CBE462
RGBrgb(203, 228, 98)
HSLhsl(72, 71%, 64%)
HSVhsv(72, 57%, 89%)
CMYKcmyk(11%, 0%, 57%, 10.6%)
CIE-LABlab(86.54, -26.38, 59.41)
CIE-LCHlch(86.54, 65.01, 113.94°)
OKLaboklab(87.48% -0.0761 0.1379)
OKLCHoklch(87.48% 0.158 118.9)
XYZxyz(54.5774, 69.0655, 22.0087)
Luminance0.6906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBE462 #7B62E4
analogous
#E4BC62 #CBE462 #8AE462
triadic
#CBE462 #62CBE4 #E462CB
tetradic
#CBE462 #62E4BC #7B62E4 #E4628A
square
#CBE462 #62E4BC #7B62E4 #E4628A
split-complementary
#CBE462 #628AE4 #BC62E4
monochromatic
#92AE1E #BADB2E #CBE462 #DCED96 #EEF6CA

Accessibility & contrast

On white

1.42
#CBE462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.81
#CBE462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBE462
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBE462#FFFFFF#000000##000000
##CBE4621.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D954
Deuteranopia (green-blind)
#EFD96A
Tritanopia (blue-blind)
#D5D9C8
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #cbe462;
/* rgb */ color: rgb(203, 228, 98);
/* oklch */ color: oklch(87.5% 0.158 118.9);
Tailwind
colors: {
  custom: {
    50: '#ddec93',
    500: '#cbe462',
    950: '#000000',
  },
}
SCSS
$custom: #cbe462;
$custom-light: #ddec93;
$custom-dark: #000000;
JSON
{
  "hex": "#cbe462",
  "rgb": {
    "r": 203,
    "g": 228,
    "b": 98
  },
  "hsl": {
    "h": 71.538,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.87483,
    "c": 0.15753,
    "h": 118.9
  },
  "luminance": 0.69065
}

Semantic roles & 50–950 ramp

primary
#CBE462
secondary
#513BAF
accent
#13D338
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #CBE462

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

Preview Lab → · Contrast checker → · Palette generator →

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