#C8CA38#C8CA38

#C8CA38 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.2% C 0.160 H 110.3°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#C8CA38
RGBrgb(200, 202, 56)
HSLhsl(61, 58%, 51%)
HSVhsv(61, 72%, 79%)
CMYKcmyk(1%, 0%, 72.3%, 20.8%)
CIE-LABlab(78.93, -17.60, 68.01)
CIE-LCHlch(78.93, 70.25, 104.51°)
OKLaboklab(81.23% -0.0555 0.1501)
OKLCHoklch(81.23% 0.16 110.3)
XYZxyz(45.6554, 54.8072, 11.9145)
Luminance0.5481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA38 #3A38CA
analogous
#CA8338 #C8CA38 #7FCA38
triadic
#C8CA38 #38C8CA #CA38C8
tetradic
#C8CA38 #38CA83 #3A38CA #CA387F
square
#C8CA38 #38CA83 #3A38CA #CA387F
split-complementary
#C8CA38 #387FCA #8338CA
monochromatic
#6A6B1D #9A9B29 #C8CA38 #D5D768 #E3E499

Accessibility & contrast

On white

1.76
#C8CA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#C8CA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA38
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA38#FFFFFF#000000##000000
##C8CA381.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC11B
Deuteranopia (green-blind)
#DBC543
Tritanopia (blue-blind)
#D6BDAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c8ca38;
/* rgb */ color: rgb(200, 202, 56);
/* oklch */ color: oklch(81.2% 0.160 110.3);
Tailwind
colors: {
  custom: {
    50: '#dcd979',
    500: '#c8ca38',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca38;
$custom-light: #dcd979;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca38",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 56
  },
  "hsl": {
    "h": 60.822,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.81232,
    "c": 0.16002,
    "h": 110.3
  },
  "luminance": 0.54806
}

Semantic roles & 50–950 ramp

primary
#C8CA38
secondary
#323175
accent
#47E149
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #C8CA38

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

Preview Lab → · Contrast checker → · Palette generator →

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