#CFE95C#CFE95C

#CFE95C is a very light, vivid yellow-green. Relative luminance 0.723; OKLCH L 88.8% C 0.167 H 118.8°. Best body text is #000000 at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#CFE95C
RGBrgb(207, 233, 92)
HSLhsl(71, 76%, 64%)
HSVhsv(71, 61%, 91%)
CMYKcmyk(11.2%, 0%, 60.5%, 8.6%)
CIE-LABlab(88.12, -27.63, 63.80)
CIE-LCHlch(88.12, 69.53, 113.42°)
OKLaboklab(88.81% -0.0805 0.1465)
OKLCHoklch(88.81% 0.167 118.8)
XYZxyz(56.8037, 72.3163, 21.0891)
Luminance0.7232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE95C #765CE9
analogous
#E9BC5C #CFE95C #88E95C
triadic
#CFE95C #5CCFE9 #E95CCF
tetradic
#CFE95C #5CE9BC #765CE9 #E95C88
square
#CFE95C #5CE9BC #765CE9 #E95C88
split-complementary
#CFE95C #5C88E9 #BC5CE9
monochromatic
#96B318 #BFE226 #CFE95C #DFF092 #EFF8C8

Accessibility & contrast

On white

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

On black

15.46
#CFE95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE95C
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE95C#FFFFFF#000000##000000
##CFE95C1.001.3615.4615.46
#FFFFFF1.361.0021.0021.00
#00000015.4621.001.001.00
##00000015.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfe95c;
/* rgb */ color: rgb(207, 233, 92);
/* oklch */ color: oklch(88.8% 0.167 118.8);
Tailwind
colors: {
  custom: {
    50: '#e0f090',
    500: '#cfe95c',
    950: '#000000',
  },
}
SCSS
$custom: #cfe95c;
$custom-light: #e0f090;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe95c",
  "rgb": {
    "r": 207,
    "g": 233,
    "b": 92
  },
  "hsl": {
    "h": 71.064,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.88808,
    "c": 0.16711,
    "h": 118.8
  },
  "luminance": 0.72316
}

Semantic roles & 50–950 ramp

primary
#CFE95C
secondary
#4D36B3
accent
#0DD833
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #CFE95C

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

Preview Lab → · Contrast checker → · Palette generator →

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