#C5C930#C5C930

#C5C930 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.7% C 0.164 H 111.1°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#C5C930
RGBrgb(197, 201, 48)
HSLhsl(62, 61%, 49%)
HSVhsv(62, 76%, 79%)
CMYKcmyk(2%, 0%, 76.1%, 21.2%)
CIE-LABlab(78.38, -18.71, 70.00)
CIE-LCHlch(78.38, 72.46, 104.96°)
OKLaboklab(80.72% -0.0591 0.153)
OKLCHoklch(80.72% 0.164 111.1)
XYZxyz(44.4477, 53.8582, 10.8500)
Luminance0.5386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C930 #3430C9
analogous
#C98130 #C5C930 #79C930
triadic
#C5C930 #30C5C9 #C930C5
tetradic
#C5C930 #30C981 #3430C9 #C93079
square
#C5C930 #30C981 #3430C9 #C93079
split-complementary
#C5C930 #3079C9 #8130C9
monochromatic
#646618 #959824 #C5C930 #D5D85E #E2E48F

Accessibility & contrast

On white

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

On black

11.77
#C5C930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C930
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C930#FFFFFF#000000##000000
##C5C9301.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C003
Deuteranopia (green-blind)
#DAC43D
Tritanopia (blue-blind)
#D3BCAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c5c930;
/* rgb */ color: rgb(197, 201, 48);
/* oklch */ color: oklch(80.7% 0.164 111.1);
Tailwind
colors: {
  custom: {
    50: '#dad975',
    500: '#c5c930',
    950: '#000000',
  },
}
SCSS
$custom: #c5c930;
$custom-light: #dad975;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c930",
  "rgb": {
    "r": 197,
    "g": 201,
    "b": 48
  },
  "hsl": {
    "h": 61.569,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.8072,
    "c": 0.16402,
    "h": 111.1
  },
  "luminance": 0.53857
}

Semantic roles & 50–950 ramp

primary
#C5C930
secondary
#2F2D70
accent
#43E547
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C930

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

Preview Lab → · Contrast checker → · Palette generator →

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