#CBEC5A#CBEC5A

#CBEC5A is a very light, vivid yellow-green. Relative luminance 0.734; OKLCH L 89.2% C 0.174 H 120.9°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#CBEC5A
RGBrgb(203, 236, 90)
HSLhsl(74, 79%, 64%)
HSVhsv(74, 62%, 93%)
CMYKcmyk(14%, 0%, 61.9%, 7.5%)
CIE-LABlab(88.65, -30.74, 65.12)
CIE-LCHlch(88.65, 72.01, 115.27°)
OKLaboklab(89.16% -0.0891 0.1491)
OKLCHoklch(89.16% 0.174 120.9)
XYZxyz(56.4702, 73.4257, 20.8685)
Luminance0.7343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBEC5A #7B5AEC
analogous
#ECC45A #CBEC5A #82EC5A
triadic
#CBEC5A #5ACBEC #EC5ACB
tetradic
#CBEC5A #5AECC4 #7B5AEC #EC5A82
square
#CBEC5A #5AECC4 #7B5AEC #EC5A82
split-complementary
#CBEC5A #5A82EC #C45AEC
monochromatic
#92B715 #BAE623 #CBEC5A #DCF291 #EEF9C8

Accessibility & contrast

On white

1.34
#CBEC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.69
#CBEC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBEC5A
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBEC5A#FFFFFF#000000##000000
##CBEC5A1.001.3415.6915.69
#FFFFFF1.341.0021.0021.00
#00000015.6921.001.001.00
##00000015.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF48
Deuteranopia (green-blind)
#F6DF64
Tritanopia (blue-blind)
#D5E0CD
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cbec5a;
/* rgb */ color: rgb(203, 236, 90);
/* oklch */ color: oklch(89.2% 0.174 120.9);
Tailwind
colors: {
  custom: {
    50: '#def28f',
    500: '#cbec5a',
    950: '#000000',
  },
}
SCSS
$custom: #cbec5a;
$custom-light: #def28f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbec5a",
  "rgb": {
    "r": 203,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 73.562,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.8916,
    "c": 0.17367,
    "h": 120.9
  },
  "luminance": 0.73426
}

Semantic roles & 50–950 ramp

primary
#CBEC5A
secondary
#5134B6
accent
#0ADC39
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #CBEC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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