#CBE97A#CBE97A

#CBE97A is a very light, vivid yellow-green. Relative luminance 0.724; OKLCH L 88.9% C 0.142 H 121.8°. Best body text is #000000 at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#CBE97A
RGBrgb(203, 233, 122)
HSLhsl(76, 72%, 70%)
HSVhsv(76, 48%, 91%)
CMYKcmyk(12.9%, 0%, 47.6%, 8.6%)
CIE-LABlab(88.15, -26.59, 50.36)
CIE-LCHlch(88.15, 56.95, 117.83°)
OKLaboklab(88.86% -0.0746 0.1204)
OKLCHoklch(88.86% 0.142 121.8)
XYZxyz(57.2806, 72.3794, 29.3616)
Luminance0.7238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBE97A #987AE9
analogous
#E9CF7A #CBE97A #94E97A
triadic
#CBE97A #7ACBE9 #E97ACB
tetradic
#CBE97A #7AE9CF #987AE9 #E97A94
square
#CBE97A #7AE9CF #987AE9 #E97A94
split-complementary
#CBE97A #7A94E9 #CF7AE9
monochromatic
#9BC821 #B6E045 #CBE97A #E0F2AF #F4FAE3

Accessibility & contrast

On white

1.36
#CBE97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.48
#CBE97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBE97A
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBE97A#FFFFFF#000000##000000
##CBE97A1.001.3615.4815.48
#FFFFFF1.361.0021.0021.00
#00000015.4821.001.001.00
##00000015.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DE70
Deuteranopia (green-blind)
#F1DD80
Tritanopia (blue-blind)
#D3DFCF
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cbe97a;
/* rgb */ color: rgb(203, 233, 122);
/* oklch */ color: oklch(88.9% 0.142 121.8);
Tailwind
colors: {
  custom: {
    50: '#dcf0a3',
    500: '#cbe97a',
    950: '#000000',
  },
}
SCSS
$custom: #cbe97a;
$custom-light: #dcf0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cbe97a",
  "rgb": {
    "r": 203,
    "g": 233,
    "b": 122
  },
  "hsl": {
    "h": 76.216,
    "s": 71.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88861,
    "c": 0.14162,
    "h": 121.8
  },
  "luminance": 0.72379
}

Semantic roles & 50–950 ramp

primary
#CBE97A
secondary
#6746C1
accent
#12D446
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CBE97A

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

Preview Lab → · Contrast checker → · Palette generator →

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