#C5C93D#C5C93D

#C5C93D is a light, vivid yellow. Relative luminance 0.540; OKLCH L 80.8% C 0.157 H 111.1°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#C5C93D
RGBrgb(197, 201, 61)
HSLhsl(62, 56%, 51%)
HSVhsv(62, 70%, 79%)
CMYKcmyk(2%, 0%, 69.7%, 21.2%)
CIE-LABlab(78.45, -18.12, 65.71)
CIE-LCHlch(78.45, 68.16, 105.42°)
OKLaboklab(80.8% -0.0563 0.1462)
OKLCHoklch(80.8% 0.157 111.1)
XYZxyz(44.7564, 53.9817, 12.4758)
Luminance0.5398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C93D #413DC9
analogous
#C9873D #C5C93D #7FC93D
triadic
#C5C93D #3DC5C9 #C93DC5
tetradic
#C5C93D #3DC987 #413DC9 #C93D7F
square
#C5C93D #3DC987 #413DC9 #C93D7F
split-complementary
#C5C93D #3D7FC9 #873DC9
monochromatic
#6B6D1E #9A9D2C #C5C93D #D3D66D #E2E49D

Accessibility & contrast

On white

1.78
#C5C93D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#C5C93D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C93D
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C93D#FFFFFF#000000##000000
##C5C93D1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C025
Deuteranopia (green-blind)
#D9C447
Tritanopia (blue-blind)
#D2BDAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c5c93d;
/* rgb */ color: rgb(197, 201, 61);
/* oklch */ color: oklch(80.8% 0.157 111.1);
Tailwind
colors: {
  custom: {
    50: '#dad97b',
    500: '#c5c93d',
    950: '#000000',
  },
}
SCSS
$custom: #c5c93d;
$custom-light: #dad97b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c93d",
  "rgb": {
    "r": 197,
    "g": 201,
    "b": 61
  },
  "hsl": {
    "h": 61.714,
    "s": 56.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.808,
    "c": 0.15666,
    "h": 111.1
  },
  "luminance": 0.53981
}

Semantic roles & 50–950 ramp

primary
#C5C93D
secondary
#353377
accent
#48E04C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C93D

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

Preview Lab → · Contrast checker → · Palette generator →

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