#C7E23F#C7E23F

#C7E23F is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 86.5% C 0.182 H 118.7°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#C7E23F
RGBrgb(199, 226, 63)
HSLhsl(70, 74%, 57%)
HSVhsv(70, 72%, 89%)
CMYKcmyk(11.9%, 0%, 72.1%, 11.4%)
CIE-LABlab(85.45, -29.27, 71.87)
CIE-LCHlch(85.45, 77.60, 112.16°)
OKLaboklab(86.46% -0.0872 0.1595)
OKLCHoklch(86.46% 0.182 118.7)
XYZxyz(51.6478, 66.8941, 14.8927)
Luminance0.6689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E23F #5A3FE2
analogous
#E2AC3F #C7E23F #75E23F
triadic
#C7E23F #3FC7E2 #E23FC7
tetradic
#C7E23F #3FE2AC #5A3FE2 #E23F75
square
#C7E23F #3FE2AC #5A3FE2 #E23F75
split-complementary
#C7E23F #3F75E2 #AC3FE2
monochromatic
#7C9116 #AAC61E #C7E23F #D7EA74 #E6F2A9

Accessibility & contrast

On white

1.46
#C7E23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.38
#C7E23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E23F
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E23F#FFFFFF#000000##000000
##C7E23F1.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D51F
Deuteranopia (green-blind)
#EED64D
Tritanopia (blue-blind)
#D3D6C3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #c7e23f;
/* rgb */ color: rgb(199, 226, 63);
/* oklch */ color: oklch(86.5% 0.182 118.7);
Tailwind
colors: {
  custom: {
    50: '#dceb7f',
    500: '#c7e23f',
    950: '#000000',
  },
}
SCSS
$custom: #c7e23f;
$custom-light: #dceb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e23f",
  "rgb": {
    "r": 199,
    "g": 226,
    "b": 63
  },
  "hsl": {
    "h": 69.939,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.86456,
    "c": 0.18174,
    "h": 118.7
  },
  "luminance": 0.66894
}

Semantic roles & 50–950 ramp

primary
#C7E23F
secondary
#413096
accent
#37F056
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C7E23F

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

Preview Lab → · Contrast checker → · Palette generator →

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