#C0D12F#C0D12F

#C0D12F is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.1% C 0.174 H 115.7°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#C0D12F
RGBrgb(192, 209, 47)
HSLhsl(66, 64%, 50%)
HSVhsv(66, 78%, 82%)
CMYKcmyk(8.1%, 0%, 77.5%, 18%)
CIE-LABlab(80.19, -24.75, 71.80)
CIE-LCHlch(80.19, 75.94, 109.02°)
OKLaboklab(82.07% -0.0756 0.1568)
OKLCHoklch(82.07% 0.174 115.7)
XYZxyz(45.0531, 57.0134, 11.3201)
Luminance0.5701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0D12F #402FD1
analogous
#D1912F #C0D12F #6FD12F
triadic
#C0D12F #2FC0D1 #D12FC0
tetradic
#C0D12F #2FD191 #402FD1 #D12F6F
square
#C0D12F #2FD191 #402FD1 #D12F6F
split-complementary
#C0D12F #2F6FD1 #912FD1
monochromatic
#646D18 #92A023 #C0D12F #CFDC61 #DEE793

Accessibility & contrast

On white

1.69
#C0D12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#C0D12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0D12F
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0D12F#FFFFFF#000000##000000
##C0D12F1.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C600
Deuteranopia (green-blind)
#DFC83E
Tritanopia (blue-blind)
#CDC5B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c0d12f;
/* rgb */ color: rgb(192, 209, 47);
/* oklch */ color: oklch(82.1% 0.174 115.7);
Tailwind
colors: {
  custom: {
    50: '#d7df75',
    500: '#c0d12f',
    950: '#000000',
  },
}
SCSS
$custom: #c0d12f;
$custom-light: #d7df75;
$custom-dark: #000000;
JSON
{
  "hex": "#c0d12f",
  "rgb": {
    "r": 192,
    "g": 209,
    "b": 47
  },
  "hsl": {
    "h": 66.296,
    "s": 63.78,
    "l": 50.196
  },
  "oklch": {
    "l": 0.82074,
    "c": 0.17412,
    "h": 115.7
  },
  "luminance": 0.57013
}

Semantic roles & 50–950 ramp

primary
#C0D12F
secondary
#352D77
accent
#41E752
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C0D12F

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

Preview Lab → · Contrast checker → · Palette generator →

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