#C5CA38#C5CA38

#C5CA38 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.0% C 0.161 H 111.5°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#C5CA38
RGBrgb(197, 202, 56)
HSLhsl(62, 58%, 51%)
HSVhsv(62, 72%, 79%)
CMYKcmyk(2.5%, 0%, 72.3%, 20.8%)
CIE-LABlab(78.69, -18.86, 67.70)
CIE-LCHlch(78.69, 70.28, 105.57°)
OKLaboklab(80.99% -0.0588 0.1495)
OKLCHoklch(80.99% 0.161 111.5)
XYZxyz(44.8618, 54.3980, 11.8773)
Luminance0.5440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CA38 #3D38CA
analogous
#CA8638 #C5CA38 #7CCA38
triadic
#C5CA38 #38C5CA #CA38C5
tetradic
#C5CA38 #38CA86 #3D38CA #CA387C
square
#C5CA38 #38CA86 #3D38CA #CA387C
split-complementary
#C5CA38 #387CCA #8638CA
monochromatic
#686B1D #989B29 #C5CA38 #D3D768 #E1E499

Accessibility & contrast

On white

1.77
#C5CA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#C5CA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CA38
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CA38#FFFFFF#000000##000000
##C5CA381.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5ca38;
/* rgb */ color: rgb(197, 202, 56);
/* oklch */ color: oklch(81.0% 0.161 111.5);
Tailwind
colors: {
  custom: {
    50: '#dad979',
    500: '#c5ca38',
    950: '#000000',
  },
}
SCSS
$custom: #c5ca38;
$custom-light: #dad979;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ca38",
  "rgb": {
    "r": 197,
    "g": 202,
    "b": 56
  },
  "hsl": {
    "h": 62.055,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.80985,
    "c": 0.16071,
    "h": 111.5
  },
  "luminance": 0.54397
}

Semantic roles & 50–950 ramp

primary
#C5CA38
secondary
#343175
accent
#47E14C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5CA38

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

Preview Lab → · Contrast checker → · Palette generator →

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