#C8D140#C8D140

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

Color values

HEX#C8D140
RGBrgb(200, 209, 64)
HSLhsl(64, 61%, 54%)
HSVhsv(64, 69%, 82%)
CMYKcmyk(4.3%, 0%, 69.4%, 18%)
CIE-LABlab(80.88, -20.66, 67.09)
CIE-LCHlch(80.88, 70.20, 107.12°)
OKLaboklab(82.81% -0.0633 0.1495)
OKLCHoklch(82.81% 0.162 112.9)
XYZxyz(47.5467, 58.2515, 13.5885)
Luminance0.5825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D140 #4940D1
analogous
#D19140 #C8D140 #7FD140
triadic
#C8D140 #40C8D1 #D140C8
tetradic
#C8D140 #40D191 #4940D1 #D1407F
square
#C8D140 #40D191 #4940D1 #D1407F
split-complementary
#C8D140 #407FD1 #9140D1
monochromatic
#74791D #A3AB29 #C8D140 #D6DD71 #E4E9A3

Accessibility & contrast

On white

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

On black

12.65
#C8D140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D140
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D140#FFFFFF#000000##000000
##C8D1401.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C728
Deuteranopia (green-blind)
#E1CA4B
Tritanopia (blue-blind)
#D5C5B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c8d140;
/* rgb */ color: rgb(200, 209, 64);
/* oklch */ color: oklch(82.8% 0.162 112.9);
Tailwind
colors: {
  custom: {
    50: '#dcde7e',
    500: '#c8d140',
    950: '#000000',
  },
}
SCSS
$custom: #c8d140;
$custom-light: #dcde7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d140",
  "rgb": {
    "r": 200,
    "g": 209,
    "b": 64
  },
  "hsl": {
    "h": 63.724,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.82806,
    "c": 0.16235,
    "h": 112.9
  },
  "luminance": 0.5825
}

Semantic roles & 50–950 ramp

primary
#C8D140
secondary
#393481
accent
#44E44D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C8D140

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

Preview Lab → · Contrast checker → · Palette generator →

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