#C9D138#C9D138

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

Color values

HEX#C9D138
RGBrgb(201, 209, 56)
HSLhsl(63, 62%, 52%)
HSVhsv(63, 73%, 82%)
CMYKcmyk(3.8%, 0%, 73.2%, 18%)
CIE-LABlab(80.91, -20.64, 69.91)
CIE-LCHlch(80.91, 72.90, 106.44°)
OKLaboklab(82.83% -0.064 0.1541)
OKLCHoklch(82.83% 0.167 112.5)
XYZxyz(47.6032, 58.3051, 12.4870)
Luminance0.5830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9D138 #4038D1
analogous
#D18C38 #C9D138 #7DD138
triadic
#C9D138 #38C9D1 #D138C9
tetradic
#C9D138 #38D18C #4038D1 #D1387D
square
#C9D138 #38D18C #4038D1 #D1387D
split-complementary
#C9D138 #387DD1 #8C38D1
monochromatic
#6F741B #9FA626 #C9D138 #D6DC6A #E4E89B

Accessibility & contrast

On white

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

On black

12.66
#C9D138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9D138
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9D138#FFFFFF#000000##000000
##C9D1381.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c9d138;
/* rgb */ color: rgb(201, 209, 56);
/* oklch */ color: oklch(82.8% 0.167 112.5);
Tailwind
colors: {
  custom: {
    50: '#ddde7a',
    500: '#c9d138',
    950: '#000000',
  },
}
SCSS
$custom: #c9d138;
$custom-light: #ddde7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c9d138",
  "rgb": {
    "r": 201,
    "g": 209,
    "b": 56
  },
  "hsl": {
    "h": 63.137,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.82834,
    "c": 0.16684,
    "h": 112.5
  },
  "luminance": 0.58304
}

Semantic roles & 50–950 ramp

primary
#C9D138
secondary
#35317C
accent
#42E64B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #C9D138

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

Preview Lab → · Contrast checker → · Palette generator →

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