#C8D138#C8D138

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

Color values

HEX#C8D138
RGBrgb(200, 209, 56)
HSLhsl(64, 62%, 52%)
HSVhsv(64, 73%, 82%)
CMYKcmyk(4.3%, 0%, 73.2%, 18%)
CIE-LABlab(80.83, -21.05, 69.81)
CIE-LCHlch(80.83, 72.92, 106.78°)
OKLaboklab(82.75% -0.0651 0.1539)
OKLCHoklch(82.75% 0.167 112.9)
XYZxyz(47.3352, 58.1669, 12.4744)
Luminance0.5817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D138 #4138D1
analogous
#D18D38 #C8D138 #7CD138
triadic
#C8D138 #38C8D1 #D138C8
tetradic
#C8D138 #38D18D #4138D1 #D1387C
square
#C8D138 #38D18D #4138D1 #D1387C
split-complementary
#C8D138 #387CD1 #8D38D1
monochromatic
#6F741B #9EA626 #C8D138 #D6DC6A #E3E89B

Accessibility & contrast

On white

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

On black

12.63
#C8D138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D138
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D138#FFFFFF#000000##000000
##C8D1381.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8d138;
/* rgb */ color: rgb(200, 209, 56);
/* oklch */ color: oklch(82.8% 0.167 112.9);
Tailwind
colors: {
  custom: {
    50: '#dcde7a',
    500: '#c8d138',
    950: '#000000',
  },
}
SCSS
$custom: #c8d138;
$custom-light: #dcde7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d138",
  "rgb": {
    "r": 200,
    "g": 209,
    "b": 56
  },
  "hsl": {
    "h": 63.529,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.82753,
    "c": 0.16711,
    "h": 112.9
  },
  "luminance": 0.58166
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8D138

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

Preview Lab → · Contrast checker → · Palette generator →

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