#CFE05C#CFE05C

#CFE05C is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 86.9% C 0.157 H 115.9°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#CFE05C
RGBrgb(207, 224, 92)
HSLhsl(68, 68%, 62%)
HSVhsv(68, 59%, 88%)
CMYKcmyk(7.6%, 0%, 58.9%, 12.2%)
CIE-LABlab(85.68, -23.34, 61.13)
CIE-LCHlch(85.68, 65.43, 110.90°)
OKLaboklab(86.85% -0.0684 0.1408)
OKLCHoklch(86.85% 0.157 115.9)
XYZxyz(54.3206, 67.3501, 20.2614)
Luminance0.6735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE05C #6D5CE0
analogous
#E0AF5C #CFE05C #8DE05C
triadic
#CFE05C #5CCFE0 #E05CCF
tetradic
#CFE05C #5CE0AF #6D5CE0 #E05C8D
square
#CFE05C #5CE0AF #6D5CE0 #E05C8D
split-complementary
#CFE05C #5C8DE0 #AF5CE0
monochromatic
#92A31F #C0D629 #CFE05C #DEEA8F #EDF4C3

Accessibility & contrast

On white

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

On black

14.47
#CFE05C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE05C
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE05C#FFFFFF#000000##000000
##CFE05C1.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED54D
Deuteranopia (green-blind)
#EDD764
Tritanopia (blue-blind)
#DBD4C4
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cfe05c;
/* rgb */ color: rgb(207, 224, 92);
/* oklch */ color: oklch(86.9% 0.157 115.9);
Tailwind
colors: {
  custom: {
    50: '#e0e98f',
    500: '#cfe05c',
    950: '#000000',
  },
}
SCSS
$custom: #cfe05c;
$custom-light: #e0e98f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe05c",
  "rgb": {
    "r": 207,
    "g": 224,
    "b": 92
  },
  "hsl": {
    "h": 67.727,
    "s": 68.041,
    "l": 61.961
  },
  "oklch": {
    "l": 0.8685,
    "c": 0.15654,
    "h": 115.9
  },
  "luminance": 0.67349
}

Semantic roles & 50–950 ramp

primary
#CFE05C
secondary
#483BA5
accent
#16D02E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #CFE05C

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

Preview Lab → · Contrast checker → · Palette generator →

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