#C0DF2F#C0DF2F

#C0DF2F is a very light, vivid yellow-green. Relative luminance 0.642; OKLCH L 85.2% C 0.189 H 119.7°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#C0DF2F
RGBrgb(192, 223, 47)
HSLhsl(71, 73%, 53%)
HSVhsv(71, 79%, 87%)
CMYKcmyk(13.9%, 0%, 78.9%, 12.5%)
CIE-LABlab(84.06, -31.37, 75.28)
CIE-LCHlch(84.06, 81.55, 112.62°)
OKLaboklab(85.19% -0.0938 0.1643)
OKLCHoklch(85.19% 0.189 119.7)
XYZxyz(48.6400, 64.1873, 12.5158)
Luminance0.6419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0DF2F #4E2FDF
analogous
#DFA62F #C0DF2F #68DF2F
triadic
#C0DF2F #2FC0DF #DF2FC0
tetradic
#C0DF2F #2FDFA6 #4E2FDF #DF2F68
square
#C0DF2F #2FDFA6 #4E2FDF #DF2F68
split-complementary
#C0DF2F #2F68DF #A62FDF
monochromatic
#6D8014 #9AB51C #C0DF2F #D0E764 #E0EF99

Accessibility & contrast

On white

1.52
#C0DF2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.84
#C0DF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0DF2F
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0DF2F#FFFFFF#000000##000000
##C0DF2F1.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED200
Deuteranopia (green-blind)
#EAD241
Tritanopia (blue-blind)
#CBD3BF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #c0df2f;
/* rgb */ color: rgb(192, 223, 47);
/* oklch */ color: oklch(85.2% 0.189 119.7);
Tailwind
colors: {
  custom: {
    50: '#d7e977',
    500: '#c0df2f',
    950: '#000000',
  },
}
SCSS
$custom: #c0df2f;
$custom-light: #d7e977;
$custom-dark: #000000;
JSON
{
  "hex": "#c0df2f",
  "rgb": {
    "r": 192,
    "g": 223,
    "b": 47
  },
  "hsl": {
    "h": 70.568,
    "s": 73.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.85193,
    "c": 0.18918,
    "h": 119.7
  },
  "luminance": 0.64187
}

Semantic roles & 50–950 ramp

primary
#C0DF2F
secondary
#3B2B87
accent
#38F058
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160A
muted
#84847D

Preview Lab

Preview with #C0DF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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