#C5C038#C5C038

#C5C038 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 78.8% C 0.151 H 107.3°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#C5C038
RGBrgb(197, 192, 56)
HSLhsl(58, 56%, 50%)
HSVhsv(58, 72%, 77%)
CMYKcmyk(0%, 2.5%, 71.6%, 22.7%)
CIE-LABlab(75.98, -13.85, 65.10)
CIE-LCHlch(75.98, 66.56, 102.01°)
OKLaboklab(78.82% -0.0448 0.1441)
OKLCHoklch(78.82% 0.151 107.3)
XYZxyz(42.5910, 49.8566, 11.1204)
Luminance0.4985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C038 #383DC5
analogous
#C57938 #C5C038 #84C538
triadic
#C5C038 #38C5C0 #C038C5
tetradic
#C5C038 #38C579 #383DC5 #C53884
square
#C5C038 #38C579 #383DC5 #C53884
split-complementary
#C5C038 #3884C5 #7938C5
monochromatic
#66631D #95922A #C5C038 #D4D067 #E1DF96

Accessibility & contrast

On white

1.91
#C5C038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#C5C038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C038
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C038#FFFFFF#000000##000000
##C5C0381.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B920
Deuteranopia (green-blind)
#D3BE42
Tritanopia (blue-blind)
#D3B3A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c5c038;
/* rgb */ color: rgb(197, 192, 56);
/* oklch */ color: oklch(78.8% 0.151 107.3);
Tailwind
colors: {
  custom: {
    50: '#dad278',
    500: '#c5c038',
    950: '#000000',
  },
}
SCSS
$custom: #c5c038;
$custom-light: #dad278;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c038",
  "rgb": {
    "r": 197,
    "g": 192,
    "b": 56
  },
  "hsl": {
    "h": 57.872,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.78818,
    "c": 0.15086,
    "h": 107.3
  },
  "luminance": 0.49855
}

Semantic roles & 50–950 ramp

primary
#C5C038
secondary
#8C8ECD
accent
#4EDF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #C5C038

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

Preview Lab → · Contrast checker → · Palette generator →

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