#C5C230#C5C230

#C5C230 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.2% C 0.157 H 108.3°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#C5C230
RGBrgb(197, 194, 48)
HSLhsl(59, 61%, 48%)
HSVhsv(59, 76%, 77%)
CMYKcmyk(0%, 1.5%, 75.6%, 22.7%)
CIE-LABlab(76.48, -15.21, 68.26)
CIE-LCHlch(76.48, 69.94, 102.56°)
OKLaboklab(79.2% -0.0493 0.1493)
OKLCHoklch(79.2% 0.157 108.3)
XYZxyz(42.8529, 50.6687, 10.3185)
Luminance0.5067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C230 #3033C5
analogous
#C57730 #C5C230 #7DC530
triadic
#C5C230 #30C5C2 #C230C5
tetradic
#C5C230 #30C577 #3033C5 #C5307D
square
#C5C230 #30C577 #3033C5 #C5307D
split-complementary
#C5C230 #307DC5 #7730C5
monochromatic
#636118 #949224 #C5C230 #D7D55B #E3E18C

Accessibility & contrast

On white

1.89
#C5C230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#C5C230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C230
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C230#FFFFFF#000000##000000
##C5C2301.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA0A
Deuteranopia (green-blind)
#D5BF3C
Tritanopia (blue-blind)
#D3B5A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c5c230;
/* rgb */ color: rgb(197, 194, 48);
/* oklch */ color: oklch(79.2% 0.157 108.3);
Tailwind
colors: {
  custom: {
    50: '#dad474',
    500: '#c5c230',
    950: '#000000',
  },
}
SCSS
$custom: #c5c230;
$custom-light: #dad474;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c230",
  "rgb": {
    "r": 197,
    "g": 194,
    "b": 48
  },
  "hsl": {
    "h": 58.792,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.79201,
    "c": 0.15725,
    "h": 108.3
  },
  "luminance": 0.50667
}

Semantic roles & 50–950 ramp

primary
#C5C230
secondary
#2C2D6D
accent
#47E444
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C230

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

Preview Lab → · Contrast checker → · Palette generator →

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