#CFE74B#CFE74B

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

Color values

HEX#CFE74B
RGBrgb(207, 231, 75)
HSLhsl(69, 76%, 60%)
HSVhsv(69, 68%, 91%)
CMYKcmyk(10.4%, 0%, 67.5%, 9.4%)
CIE-LABlab(87.45, -27.79, 69.79)
CIE-LCHlch(87.45, 75.12, 111.71°)
OKLaboklab(88.23% -0.0825 0.1568)
OKLCHoklch(88.23% 0.177 117.8)
XYZxyz(55.5792, 70.9258, 17.4174)
Luminance0.7093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE74B #634BE7
analogous
#E7B14B #CFE74B #81E74B
triadic
#CFE74B #4BCFE7 #E74BCF
tetradic
#CFE74B #4BE7B1 #634BE7 #E74B81
square
#CFE74B #4BE7B1 #634BE7 #E74B81
split-complementary
#CFE74B #4B81E7 #B14BE7
monochromatic
#8CA216 #BBD81D #CFE74B #DDEE81 #ECF5B7

Accessibility & contrast

On white

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

On black

15.19
#CFE74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE74B
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE74B#FFFFFF#000000##000000
##CFE74B1.001.3815.1915.19
#FFFFFF1.381.0021.0021.00
#00000015.1921.001.001.00
##00000015.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfe74b;
/* rgb */ color: rgb(207, 231, 75);
/* oklch */ color: oklch(88.2% 0.177 117.8);
Tailwind
colors: {
  custom: {
    50: '#e1ee86',
    500: '#cfe74b',
    950: '#000000',
  },
}
SCSS
$custom: #cfe74b;
$custom-light: #e1ee86;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe74b",
  "rgb": {
    "r": 207,
    "g": 231,
    "b": 75
  },
  "hsl": {
    "h": 69.231,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.88227,
    "c": 0.17713,
    "h": 117.8
  },
  "luminance": 0.70925
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFE74B

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

Preview Lab → · Contrast checker → · Palette generator →

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