#CBE795#CBE795

#CBE795 is a very light, moderate yellow-green. Relative luminance 0.720; OKLCH L 88.8% C 0.110 H 124.0°. Best body text is #000000 at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#CBE795
RGBrgb(203, 231, 149)
HSLhsl(80, 63%, 75%)
HSVhsv(80, 35%, 91%)
CMYKcmyk(12.1%, 0%, 35.5%, 9.4%)
CIE-LABlab(87.98, -22.55, 36.94)
CIE-LCHlch(87.98, 43.28, 121.40°)
OKLaboklab(88.84% -0.0615 0.0914)
OKLCHoklch(88.84% 0.11 124)
XYZxyz(58.6289, 72.0180, 39.2401)
Luminance0.7202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBE795 #B195E7
analogous
#E7DA95 #CBE795 #A2E795
triadic
#CBE795 #95CBE7 #E795CB
tetradic
#CBE795 #95E7DA #B195E7 #E795A2
square
#CBE795 #95E7DA #B195E7 #E795A2
split-complementary
#CBE795 #95A2E7 #DA95E7
monochromatic
#9AD031 #B3DC63 #CBE795 #E3F2C7 #F3F9E6

Accessibility & contrast

On white

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

On black

15.40
#CBE795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBE795
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBE795#FFFFFF#000000##000000
##CBE7951.001.3615.4015.40
#FFFFFF1.361.0021.0021.00
#00000015.4021.001.001.00
##00000015.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DD8F
Deuteranopia (green-blind)
#ECDC99
Tritanopia (blue-blind)
#D1DFD2
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cbe795;
/* rgb */ color: rgb(203, 231, 149);
/* oklch */ color: oklch(88.8% 0.110 124.0);
Tailwind
colors: {
  custom: {
    50: '#dceeb5',
    500: '#cbe795',
    950: '#000000',
  },
}
SCSS
$custom: #cbe795;
$custom-light: #dceeb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cbe795",
  "rgb": {
    "r": 203,
    "g": 231,
    "b": 149
  },
  "hsl": {
    "h": 80.488,
    "s": 63.077,
    "l": 74.51
  },
  "oklch": {
    "l": 0.88842,
    "c": 0.11013,
    "h": 124
  },
  "luminance": 0.72018
}

Semantic roles & 50–950 ramp

primary
#CBE795
secondary
#815FC1
accent
#1BCB57
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #CBE795

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

Preview Lab → · Contrast checker → · Palette generator →

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