#C8D938#C8D938

#C8D938 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 84.5% C 0.175 H 115.6°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#C8D938
RGBrgb(200, 217, 56)
HSLhsl(66, 68%, 54%)
HSVhsv(66, 74%, 85%)
CMYKcmyk(7.8%, 0%, 74.2%, 14.9%)
CIE-LABlab(83.02, -24.93, 71.87)
CIE-LCHlch(83.02, 76.07, 109.13°)
OKLaboklab(84.5% -0.0758 0.1583)
OKLCHoklch(84.5% 0.175 115.6)
XYZxyz(49.3474, 62.1914, 13.1452)
Luminance0.6219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D938 #4938D9
analogous
#D99938 #C8D938 #78D938
triadic
#C8D938 #38C8D9 #D938C8
tetradic
#C8D938 #38D999 #4938D9 #D93878
square
#C8D938 #38D999 #4938D9 #D93878
split-complementary
#C8D938 #3878D9 #9938D9
monochromatic
#747E18 #A3B222 #C8D938 #D6E36B #E4ED9F

Accessibility & contrast

On white

1.56
#C8D938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.44
#C8D938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D938
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D938#FFFFFF#000000##000000
##C8D9381.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE12
Deuteranopia (green-blind)
#E7D046
Tritanopia (blue-blind)
#D5CCBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c8d938;
/* rgb */ color: rgb(200, 217, 56);
/* oklch */ color: oklch(84.5% 0.175 115.6);
Tailwind
colors: {
  custom: {
    50: '#dce47b',
    500: '#c8d938',
    950: '#000000',
  },
}
SCSS
$custom: #c8d938;
$custom-light: #dce47b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d938",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 56
  },
  "hsl": {
    "h": 66.335,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.84504,
    "c": 0.17549,
    "h": 115.6
  },
  "luminance": 0.62191
}

Semantic roles & 50–950 ramp

primary
#C8D938
secondary
#393086
accent
#3DEB4F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #C8D938

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

Preview Lab → · Contrast checker → · Palette generator →

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