#CFE138#CFE138

#CFE138 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 86.8% C 0.182 H 115.7°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#CFE138
RGBrgb(207, 225, 56)
HSLhsl(66, 74%, 55%)
HSVhsv(66, 75%, 88%)
CMYKcmyk(8%, 0%, 75.1%, 11.8%)
CIE-LABlab(85.71, -25.89, 74.56)
CIE-LCHlch(85.71, 78.92, 109.15°)
OKLaboklab(86.79% -0.0788 0.1637)
OKLCHoklch(86.79% 0.182 115.7)
XYZxyz(53.3726, 67.4022, 13.9389)
Luminance0.6740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE138 #4A38E1
analogous
#E19F38 #CFE138 #7AE138
triadic
#CFE138 #38CFE1 #E138CF
tetradic
#CFE138 #38E19F #4A38E1 #E1387A
square
#CFE138 #38E19F #4A38E1 #E1387A
split-complementary
#CFE138 #387AE1 #9F38E1
monochromatic
#7D8A15 #AEBF1D #CFE138 #DCE96D #E9F1A2

Accessibility & contrast

On white

1.45
#CFE138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.48
#CFE138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE138
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE138#FFFFFF#000000##000000
##CFE1381.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D50A
Deuteranopia (green-blind)
#F0D747
Tritanopia (blue-blind)
#DCD4C1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cfe138;
/* rgb */ color: rgb(207, 225, 56);
/* oklch */ color: oklch(86.8% 0.182 115.7);
Tailwind
colors: {
  custom: {
    50: '#e2ea7c',
    500: '#cfe138',
    950: '#000000',
  },
}
SCSS
$custom: #cfe138;
$custom-light: #e2ea7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe138",
  "rgb": {
    "r": 207,
    "g": 225,
    "b": 56
  },
  "hsl": {
    "h": 66.391,
    "s": 73.799,
    "l": 55.098
  },
  "oklch": {
    "l": 0.86792,
    "c": 0.18173,
    "h": 115.7
  },
  "luminance": 0.67401
}

Semantic roles & 50–950 ramp

primary
#CFE138
secondary
#382E8F
accent
#37F04B
background
#FEFEFB
surface
#FDFDF2
border
#D5D5CC
text
#16160A
muted
#84847D

Preview Lab

Preview with #CFE138

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

Preview Lab → · Contrast checker → · Palette generator →

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