#CFE74A#CFE74A

#CFE74A is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.2% C 0.178 H 117.7°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#CFE74A
RGBrgb(207, 231, 74)
HSLhsl(69, 77%, 60%)
HSVhsv(69, 68%, 91%)
CMYKcmyk(10.4%, 0%, 68%, 9.4%)
CIE-LABlab(87.44, -27.84, 70.15)
CIE-LCHlch(87.44, 75.48, 111.65°)
OKLaboklab(88.22% -0.0827 0.1574)
OKLCHoklch(88.22% 0.178 117.7)
XYZxyz(55.5453, 70.9122, 17.2385)
Luminance0.7091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE74A #624AE7
analogous
#E7B14A #CFE74A #81E74A
triadic
#CFE74A #4ACFE7 #E74ACF
tetradic
#CFE74A #4AE7B1 #624AE7 #E74A81
square
#CFE74A #4AE7B1 #624AE7 #E74A81
split-complementary
#CFE74A #4A81E7 #B14AE7
monochromatic
#8CA115 #BBD71D #CFE74A #DDEE80 #ECF5B6

Accessibility & contrast

On white

1.38
#CFE74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.18
#CFE74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE74A
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE74A#FFFFFF#000000##000000
##CFE74A1.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DB31
Deuteranopia (green-blind)
#F4DC56
Tritanopia (blue-blind)
#DBDBC8
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #cfe74a;
/* rgb */ color: rgb(207, 231, 74);
/* oklch */ color: oklch(88.2% 0.178 117.7);
Tailwind
colors: {
  custom: {
    50: '#e1ee85',
    500: '#cfe74a',
    950: '#000000',
  },
}
SCSS
$custom: #cfe74a;
$custom-light: #e1ee85;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe74a",
  "rgb": {
    "r": 207,
    "g": 231,
    "b": 74
  },
  "hsl": {
    "h": 69.172,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.8822,
    "c": 0.17778,
    "h": 117.7
  },
  "luminance": 0.70912
}

Semantic roles & 50–950 ramp

primary
#CFE74A
secondary
#4331A4
accent
#35F352
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CFE74A

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

Preview Lab → · Contrast checker → · Palette generator →

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