#C0DA2F#C0DA2F

#C0DA2F is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.1% C 0.184 H 118.4°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#C0DA2F
RGBrgb(192, 218, 47)
HSLhsl(69, 70%, 52%)
HSVhsv(69, 78%, 85%)
CMYKcmyk(11.9%, 0%, 78.4%, 14.5%)
CIE-LABlab(82.68, -29.03, 74.04)
CIE-LCHlch(82.68, 79.53, 111.41°)
OKLaboklab(84.08% -0.0874 0.1616)
OKLCHoklch(84.08% 0.184 118.4)
XYZxyz(47.3238, 61.5549, 12.0770)
Luminance0.6156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0DA2F #492FDA
analogous
#DA9F2F #C0DA2F #6BDA2F
triadic
#C0DA2F #2FC0DA #DA2FC0
tetradic
#C0DA2F #2FDA9F #492FDA #DA2F6B
square
#C0DA2F #2FDA9F #492FDA #DA2F6B
split-complementary
#C0DA2F #2F6BDA #9F2FDA
monochromatic
#6A7916 #97AD1F #C0DA2F #D0E363 #DFEC97

Accessibility & contrast

On white

1.58
#C0DA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#C0DA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0DA2F
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0DA2F#FFFFFF#000000##000000
##C0DA2F1.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CE00
Deuteranopia (green-blind)
#E6CE40
Tritanopia (blue-blind)
#CCCEBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c0da2f;
/* rgb */ color: rgb(192, 218, 47);
/* oklch */ color: oklch(84.1% 0.184 118.4);
Tailwind
colors: {
  custom: {
    50: '#d7e577',
    500: '#c0da2f',
    950: '#000000',
  },
}
SCSS
$custom: #c0da2f;
$custom-light: #d7e577;
$custom-dark: #000000;
JSON
{
  "hex": "#c0da2f",
  "rgb": {
    "r": 192,
    "g": 218,
    "b": 47
  },
  "hsl": {
    "h": 69.123,
    "s": 69.796,
    "l": 51.961
  },
  "oklch": {
    "l": 0.84075,
    "c": 0.18374,
    "h": 118.4
  },
  "luminance": 0.61555
}

Semantic roles & 50–950 ramp

primary
#C0DA2F
secondary
#392C81
accent
#3BED56
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#15150A
muted
#84847D

Preview Lab

Preview with #C0DA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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