#CAD338#CAD338

#CAD338 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.3% C 0.169 H 112.9°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#CAD338
RGBrgb(202, 211, 56)
HSLhsl(63, 64%, 52%)
HSVhsv(63, 73%, 83%)
CMYKcmyk(4.3%, 0%, 73.5%, 17.3%)
CIE-LABlab(81.53, -21.20, 70.53)
CIE-LCHlch(81.53, 73.64, 106.73°)
OKLaboklab(83.35% -0.0656 0.1553)
OKLCHoklch(83.35% 0.169 112.9)
XYZxyz(48.3667, 59.4317, 12.6642)
Luminance0.5943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAD338 #4138D3
analogous
#D38F38 #CAD338 #7CD338
triadic
#CAD338 #38CAD3 #D338CA
tetradic
#CAD338 #38D38F #4138D3 #D3387C
square
#CAD338 #38D38F #4138D3 #D3387C
split-complementary
#CAD338 #387CD3 #8F38D3
monochromatic
#71761A #A1A925 #CAD338 #D7DE6A #E5E99C

Accessibility & contrast

On white

1.63
#CAD338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#CAD338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAD338
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAD338#FFFFFF#000000##000000
##CAD3381.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C916
Deuteranopia (green-blind)
#E3CC45
Tritanopia (blue-blind)
#D8C6B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cad338;
/* rgb */ color: rgb(202, 211, 56);
/* oklch */ color: oklch(83.3% 0.169 112.9);
Tailwind
colors: {
  custom: {
    50: '#dee07a',
    500: '#cad338',
    950: '#000000',
  },
}
SCSS
$custom: #cad338;
$custom-light: #dee07a;
$custom-dark: #000000;
JSON
{
  "hex": "#cad338",
  "rgb": {
    "r": 202,
    "g": 211,
    "b": 56
  },
  "hsl": {
    "h": 63.484,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.83349,
    "c": 0.16863,
    "h": 112.9
  },
  "luminance": 0.59431
}

Semantic roles & 50–950 ramp

primary
#CAD338
secondary
#35307F
accent
#41E74B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CAD338

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

Preview Lab → · Contrast checker → · Palette generator →

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