#CFEB7A#CFEB7A

#CFEB7A is a very light, vivid yellow-green. Relative luminance 0.741; OKLCH L 89.6% C 0.143 H 120.8°. Best body text is #000000 at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#CFEB7A
RGBrgb(207, 235, 122)
HSLhsl(75, 74%, 70%)
HSVhsv(75, 48%, 92%)
CMYKcmyk(11.9%, 0%, 48.1%, 7.8%)
CIE-LABlab(88.96, -26.02, 51.41)
CIE-LCHlch(88.96, 57.62, 116.85°)
OKLaboklab(89.58% -0.0732 0.1227)
OKLCHoklch(89.58% 0.143 120.8)
XYZxyz(58.9536, 74.0873, 29.6031)
Luminance0.7409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEB7A #967AEB
analogous
#EBCE7A #CFEB7A #97EB7A
triadic
#CFEB7A #7ACFEB #EB7ACF
tetradic
#CFEB7A #7AEBCE #967AEB #EB7A97
square
#CFEB7A #7AEBCE #967AEB #EB7A97
split-complementary
#CFEB7A #7A97EB #CE7AEB
monochromatic
#A1CC1F #BCE345 #CFEB7A #E2F3AF #F5FBE4

Accessibility & contrast

On white

1.33
#CFEB7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.82
#CFEB7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEB7A
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEB7A#FFFFFF#000000##000000
##CFEB7A1.001.3315.8215.82
#FFFFFF1.331.0021.0021.00
#00000015.8221.001.001.00
##00000015.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E070
Deuteranopia (green-blind)
#F3E080
Tritanopia (blue-blind)
#D8E1D1
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cfeb7a;
/* rgb */ color: rgb(207, 235, 122);
/* oklch */ color: oklch(89.6% 0.143 120.8);
Tailwind
colors: {
  custom: {
    50: '#dff1a3',
    500: '#cfeb7a',
    950: '#000000',
  },
}
SCSS
$custom: #cfeb7a;
$custom-light: #dff1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfeb7a",
  "rgb": {
    "r": 207,
    "g": 235,
    "b": 122
  },
  "hsl": {
    "h": 74.867,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.89582,
    "c": 0.14284,
    "h": 120.8
  },
  "luminance": 0.74087
}

Semantic roles & 50–950 ramp

primary
#CFEB7A
secondary
#6545C4
accent
#10D641
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CFEB7A

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

Preview Lab → · Contrast checker → · Palette generator →

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