#CAD12C#CAD12C

#CAD12C is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 82.8% C 0.173 H 112.2°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#CAD12C
RGBrgb(202, 209, 44)
HSLhsl(63, 65%, 50%)
HSVhsv(63, 79%, 82%)
CMYKcmyk(3.3%, 0%, 78.9%, 18%)
CIE-LABlab(80.93, -20.69, 73.59)
CIE-LCHlch(80.93, 76.44, 105.70°)
OKLaboklab(82.85% -0.0651 0.1598)
OKLCHoklch(82.85% 0.173 112.2)
XYZxyz(47.6139, 58.3405, 11.1351)
Luminance0.5834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAD12C #332CD1
analogous
#D1852C #CAD12C #78D12C
triadic
#CAD12C #2CCAD1 #D12CCA
tetradic
#CAD12C #2CD185 #332CD1 #D12C78
square
#CAD12C #2CD185 #332CD1 #D12C78
split-complementary
#CAD12C #2C78D1 #852CD1
monochromatic
#686C17 #999E21 #CAD12C #D8DD5D #E4E890

Accessibility & contrast

On white

1.66
#CAD12C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#CAD12C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAD12C
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAD12C#FFFFFF#000000##000000
##CAD12C1.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C700
Deuteranopia (green-blind)
#E2CB3C
Tritanopia (blue-blind)
#D8C4B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cad12c;
/* rgb */ color: rgb(202, 209, 44);
/* oklch */ color: oklch(82.8% 0.173 112.2);
Tailwind
colors: {
  custom: {
    50: '#dede74',
    500: '#cad12c',
    950: '#000000',
  },
}
SCSS
$custom: #cad12c;
$custom-light: #dede74;
$custom-dark: #000000;
JSON
{
  "hex": "#cad12c",
  "rgb": {
    "r": 202,
    "g": 209,
    "b": 44
  },
  "hsl": {
    "h": 62.545,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.8285,
    "c": 0.17255,
    "h": 112.2
  },
  "luminance": 0.58339
}

Semantic roles & 50–950 ramp

primary
#CAD12C
secondary
#2F2C75
accent
#40E847
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CAD12C

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

Preview Lab → · Contrast checker → · Palette generator →

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