#CBE798#CBE798

#CBE798 is a very light, moderate yellow-green. Relative luminance 0.721; OKLCH L 88.9% C 0.107 H 124.4°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#CBE798
RGBrgb(203, 231, 152)
HSLhsl(81, 62%, 75%)
HSVhsv(81, 34%, 91%)
CMYKcmyk(12.1%, 0%, 34.2%, 9.4%)
CIE-LABlab(88.02, -22.17, 35.50)
CIE-LCHlch(88.02, 41.85, 121.98°)
OKLaboklab(88.89% -0.0603 0.0881)
OKLCHoklch(88.89% 0.107 124.4)
XYZxyz(58.8715, 72.1151, 40.5178)
Luminance0.7211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBE798 #B498E7
analogous
#E7DC98 #CBE798 #A3E798
triadic
#CBE798 #98CBE7 #E798CB
tetradic
#CBE798 #98E7DC #B498E7 #E798A3
square
#CBE798 #98E7DC #B498E7 #E798A3
split-complementary
#CBE798 #98A3E7 #DC98E7
monochromatic
#99D035 #B2DB66 #CBE798 #E4F3CA #F2F9E6

Accessibility & contrast

On white

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

On black

15.42
#CBE798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBE798
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBE798#FFFFFF#000000##000000
##CBE7981.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DE92
Deuteranopia (green-blind)
#ECDD9C
Tritanopia (blue-blind)
#D0E0D3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cbe798;
/* rgb */ color: rgb(203, 231, 152);
/* oklch */ color: oklch(88.9% 0.107 124.4);
Tailwind
colors: {
  custom: {
    50: '#dbeeb7',
    500: '#cbe798',
    950: '#000000',
  },
}
SCSS
$custom: #cbe798;
$custom-light: #dbeeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cbe798",
  "rgb": {
    "r": 203,
    "g": 231,
    "b": 152
  },
  "hsl": {
    "h": 81.266,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.88894,
    "c": 0.10673,
    "h": 124.4
  },
  "luminance": 0.72115
}

Semantic roles & 50–950 ramp

primary
#CBE798
secondary
#8462C1
accent
#1CCA59
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #CBE798

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

Preview Lab → · Contrast checker → · Palette generator →

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