#CFE958#CFE958

#CFE958 is a very light, vivid yellow-green. Relative luminance 0.722; OKLCH L 88.8% C 0.170 H 118.7°. Best body text is #000000 at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#CFE958
RGBrgb(207, 233, 88)
HSLhsl(71, 77%, 63%)
HSVhsv(71, 62%, 91%)
CMYKcmyk(11.2%, 0%, 62.2%, 8.6%)
CIE-LABlab(88.09, -27.91, 65.41)
CIE-LCHlch(88.09, 71.12, 113.11°)
OKLaboklab(88.77% -0.0816 0.1494)
OKLCHoklch(88.77% 0.17 118.7)
XYZxyz(56.6335, 72.2482, 20.1924)
Luminance0.7225 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE958 #7258E9
analogous
#E9BB58 #CFE958 #86E958
triadic
#CFE958 #58CFE9 #E958CF
tetradic
#CFE958 #58E9BB #7258E9 #E95886
square
#CFE958 #58E9BB #7258E9 #E95886
split-complementary
#CFE958 #5886E9 #BB58E9
monochromatic
#94AF17 #BFE222 #CFE958 #DFF08E #EEF7C4

Accessibility & contrast

On white

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

On black

15.45
#CFE958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE958
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE958#FFFFFF#000000##000000
##CFE9581.001.3615.4515.45
#FFFFFF1.361.0021.0021.00
#00000015.4521.001.001.00
##00000015.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DD46
Deuteranopia (green-blind)
#F4DE62
Tritanopia (blue-blind)
#DADDCB
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cfe958;
/* rgb */ color: rgb(207, 233, 88);
/* oklch */ color: oklch(88.8% 0.170 118.7);
Tailwind
colors: {
  custom: {
    50: '#e1f08d',
    500: '#cfe958',
    950: '#000000',
  },
}
SCSS
$custom: #cfe958;
$custom-light: #e1f08d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe958",
  "rgb": {
    "r": 207,
    "g": 233,
    "b": 88
  },
  "hsl": {
    "h": 70.759,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.88771,
    "c": 0.1702,
    "h": 118.7
  },
  "luminance": 0.72248
}

Semantic roles & 50–950 ramp

primary
#CFE958
secondary
#4B35B0
accent
#0DD931
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #CFE958

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

Preview Lab → · Contrast checker → · Palette generator →

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