#CBE162#CBE162

#CBE162 is a very light, vivid yellow-green. Relative luminance 0.674; OKLCH L 86.8% C 0.154 H 118.0°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#CBE162
RGBrgb(203, 225, 98)
HSLhsl(70, 68%, 63%)
HSVhsv(70, 56%, 88%)
CMYKcmyk(9.8%, 0%, 56.4%, 11.8%)
CIE-LABlab(85.72, -24.95, 58.49)
CIE-LCHlch(85.72, 63.59, 113.10°)
OKLaboklab(86.83% -0.0721 0.1359)
OKLCHoklch(86.83% 0.154 118)
XYZxyz(53.7592, 67.4292, 21.7360)
Luminance0.6743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBE162 #7862E1
analogous
#E1B762 #CBE162 #8BE162
triadic
#CBE162 #62CBE1 #E162CB
tetradic
#CBE162 #62E1B7 #7862E1 #E1628B
square
#CBE162 #62E1B7 #7862E1 #E1628B
split-complementary
#CBE162 #628BE1 #B762E1
monochromatic
#91A820 #BAD72F #CBE162 #DCEB95 #EDF5C9

Accessibility & contrast

On white

1.45
#CBE162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.49
#CBE162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBE162
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBE162#FFFFFF#000000##000000
##CBE1621.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED655
Deuteranopia (green-blind)
#ECD76A
Tritanopia (blue-blind)
#D6D6C5
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cbe162;
/* rgb */ color: rgb(203, 225, 98);
/* oklch */ color: oklch(86.8% 0.154 118.0);
Tailwind
colors: {
  custom: {
    50: '#ddea93',
    500: '#cbe162',
    950: '#000000',
  },
}
SCSS
$custom: #cbe162;
$custom-light: #ddea93;
$custom-dark: #000000;
JSON
{
  "hex": "#cbe162",
  "rgb": {
    "r": 203,
    "g": 225,
    "b": 98
  },
  "hsl": {
    "h": 70.394,
    "s": 67.914,
    "l": 63.333
  },
  "oklch": {
    "l": 0.86828,
    "c": 0.15388,
    "h": 118
  },
  "luminance": 0.67429
}

Semantic roles & 50–950 ramp

primary
#CBE162
secondary
#503DAB
accent
#16D036
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #CBE162

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

Preview Lab → · Contrast checker → · Palette generator →

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