#CAD138#CAD138

#CAD138 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 82.9% C 0.167 H 112.2°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#CAD138
RGBrgb(202, 209, 56)
HSLhsl(63, 62%, 52%)
HSVhsv(63, 73%, 82%)
CMYKcmyk(3.3%, 0%, 73.2%, 18%)
CIE-LABlab(80.99, -20.22, 70.01)
CIE-LCHlch(80.99, 72.87, 106.11°)
OKLaboklab(82.91% -0.0629 0.1543)
OKLCHoklch(82.91% 0.167 112.2)
XYZxyz(47.8730, 58.4442, 12.4996)
Luminance0.5844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAD138 #3F38D1
analogous
#D18C38 #CAD138 #7ED138
triadic
#CAD138 #38CAD1 #D138CA
tetradic
#CAD138 #38D18C #3F38D1 #D1387E
square
#CAD138 #38D18C #3F38D1 #D1387E
split-complementary
#CAD138 #387ED1 #8C38D1
monochromatic
#70741B #A0A626 #CAD138 #D7DC6A #E4E89B

Accessibility & contrast

On white

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

On black

12.69
#CAD138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAD138
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAD138#FFFFFF#000000##000000
##CAD1381.001.6612.6912.69
#FFFFFF1.661.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C717
Deuteranopia (green-blind)
#E1CB45
Tritanopia (blue-blind)
#D8C4B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cad138;
/* rgb */ color: rgb(202, 209, 56);
/* oklch */ color: oklch(82.9% 0.167 112.2);
Tailwind
colors: {
  custom: {
    50: '#dede7a',
    500: '#cad138',
    950: '#000000',
  },
}
SCSS
$custom: #cad138;
$custom-light: #dede7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cad138",
  "rgb": {
    "r": 202,
    "g": 209,
    "b": 56
  },
  "hsl": {
    "h": 62.745,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.82914,
    "c": 0.16659,
    "h": 112.2
  },
  "luminance": 0.58443
}

Semantic roles & 50–950 ramp

primary
#CAD138
secondary
#34317C
accent
#42E64A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CAD138

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

Preview Lab → · Contrast checker → · Palette generator →

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