#C5C93F#C5C93F

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

Color values

HEX#C5C93F
RGBrgb(197, 201, 63)
HSLhsl(62, 56%, 52%)
HSVhsv(62, 69%, 79%)
CMYKcmyk(2%, 0%, 68.7%, 21.2%)
CIE-LABlab(78.46, -18.02, 64.98)
CIE-LCHlch(78.46, 67.44, 105.50°)
OKLaboklab(80.82% -0.0558 0.145)
OKLCHoklch(80.82% 0.155 111.1)
XYZxyz(44.8112, 54.0036, 12.7649)
Luminance0.5400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C93F #433FC9
analogous
#C9883F #C5C93F #80C93F
triadic
#C5C93F #3FC5C9 #C93FC5
tetradic
#C5C93F #3FC988 #433FC9 #C93F80
square
#C5C93F #3FC988 #433FC9 #C93F80
split-complementary
#C5C93F #3F80C9 #883FC9
monochromatic
#6C6F1F #9B9E2D #C5C93F #D3D66F #E2E49F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5C93F#FFFFFF#000000##000000
##C5C93F1.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)
#D8C029
Deuteranopia (green-blind)
#D9C449
Tritanopia (blue-blind)
#D2BDAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c5c93f;
/* rgb */ color: rgb(197, 201, 63);
/* oklch */ color: oklch(80.8% 0.155 111.1);
Tailwind
colors: {
  custom: {
    50: '#dad97c',
    500: '#c5c93f',
    950: '#000000',
  },
}
SCSS
$custom: #c5c93f;
$custom-light: #dad97c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c93f",
  "rgb": {
    "r": 197,
    "g": 201,
    "b": 63
  },
  "hsl": {
    "h": 61.739,
    "s": 56.098,
    "l": 51.765
  },
  "oklch": {
    "l": 0.80815,
    "c": 0.15537,
    "h": 111.1
  },
  "luminance": 0.54002
}

Semantic roles & 50–950 ramp

primary
#C5C93F
secondary
#363478
accent
#48DF4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C93F

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

Preview Lab → · Contrast checker → · Palette generator →

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