#CFE794#CFE794

#CFE794 is a very light, moderate yellow-green. Relative luminance 0.726; OKLCH L 89.1% C 0.110 H 121.8°. Best body text is #000000 at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#CFE794
RGBrgb(207, 231, 148)
HSLhsl(77, 63%, 74%)
HSVhsv(77, 36%, 91%)
CMYKcmyk(10.4%, 0%, 35.9%, 9.4%)
CIE-LABlab(88.24, -21.20, 37.83)
CIE-LCHlch(88.24, 43.37, 119.26°)
OKLaboklab(89.11% -0.0578 0.0934)
OKLCHoklch(89.11% 0.11 121.8)
XYZxyz(59.6531, 72.5553, 38.8732)
Luminance0.7256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE794 #AC94E7
analogous
#E7D594 #CFE794 #A6E794
triadic
#CFE794 #94CFE7 #E794CF
tetradic
#CFE794 #94E7D5 #AC94E7 #E794A6
square
#CFE794 #94E7D5 #AC94E7 #E794A6
split-complementary
#CFE794 #94A6E7 #D594E7
monochromatic
#A2D130 #B9DC62 #CFE794 #E5F2C6 #F4F9E6

Accessibility & contrast

On white

1.35
#CFE794 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.51
#CFE794 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE794
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE794#FFFFFF#000000##000000
##CFE7941.001.3515.5115.51
#FFFFFF1.351.0021.0021.00
#00000015.5121.001.001.00
##00000015.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DE8E
Deuteranopia (green-blind)
#EDDD98
Tritanopia (blue-blind)
#D6DFD2
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cfe794;
/* rgb */ color: rgb(207, 231, 148);
/* oklch */ color: oklch(89.1% 0.110 121.8);
Tailwind
colors: {
  custom: {
    50: '#deeeb4',
    500: '#cfe794',
    950: '#000000',
  },
}
SCSS
$custom: #cfe794;
$custom-light: #deeeb4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe794",
  "rgb": {
    "r": 207,
    "g": 231,
    "b": 148
  },
  "hsl": {
    "h": 77.349,
    "s": 63.359,
    "l": 74.314
  },
  "oklch": {
    "l": 0.89112,
    "c": 0.10983,
    "h": 121.8
  },
  "luminance": 0.72555
}

Semantic roles & 50–950 ramp

primary
#CFE794
secondary
#7B5EC1
accent
#1ACB4D
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #CFE794

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

Preview Lab → · Contrast checker → · Palette generator →

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