#C0D742#C0D742

#C0D742 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 83.5% C 0.170 H 117.9°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#C0D742
RGBrgb(192, 215, 66)
HSLhsl(69, 65%, 55%)
HSVhsv(69, 69%, 84%)
CMYKcmyk(10.7%, 0%, 69.3%, 15.7%)
CIE-LABlab(81.95, -26.73, 67.22)
CIE-LCHlch(81.95, 72.34, 111.69°)
OKLaboklab(83.52% -0.0795 0.1503)
OKLCHoklch(83.52% 0.17 117.9)
XYZxyz(47.0230, 60.2012, 14.2960)
Luminance0.6020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0D742 #5942D7
analogous
#D7A442 #C0D742 #75D742
triadic
#C0D742 #42C0D7 #D742C0
tetradic
#C0D742 #42D7A4 #5942D7 #D74275
square
#C0D742 #42D7A4 #5942D7 #D74275
split-complementary
#C0D742 #4275D7 #A442D7
monochromatic
#73831C #9FB526 #C0D742 #D1E275 #E2ECA7

Accessibility & contrast

On white

1.61
#C0D742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.04
#C0D742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0D742
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0D742#FFFFFF#000000##000000
##C0D7421.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB29
Deuteranopia (green-blind)
#E3CD4E
Tritanopia (blue-blind)
#CBCBBA
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c0d742;
/* rgb */ color: rgb(192, 215, 66);
/* oklch */ color: oklch(83.5% 0.170 117.9);
Tailwind
colors: {
  custom: {
    50: '#d6e37f',
    500: '#c0d742',
    950: '#000000',
  },
}
SCSS
$custom: #c0d742;
$custom-light: #d6e37f;
$custom-dark: #000000;
JSON
{
  "hex": "#c0d742",
  "rgb": {
    "r": 192,
    "g": 215,
    "b": 66
  },
  "hsl": {
    "h": 69.262,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.83521,
    "c": 0.17008,
    "h": 117.9
  },
  "luminance": 0.60201
}

Semantic roles & 50–950 ramp

primary
#C0D742
secondary
#41348A
accent
#40E85A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C0D742

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

Preview Lab → · Contrast checker → · Palette generator →

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