#C5C025#C5C025

#C5C025 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.7% C 0.160 H 107.6°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#C5C025
RGBrgb(197, 192, 37)
HSLhsl(58, 68%, 46%)
HSVhsv(58, 81%, 77%)
CMYKcmyk(0%, 2.5%, 81.2%, 22.7%)
CIE-LABlab(75.89, -14.59, 70.92)
CIE-LCHlch(75.89, 72.40, 101.63°)
OKLaboklab(78.71% -0.0485 0.153)
OKLCHoklch(78.71% 0.16 107.6)
XYZxyz(42.2113, 49.7047, 9.1204)
Luminance0.4970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C025 #252AC5
analogous
#C57025 #C5C025 #7AC525
triadic
#C5C025 #25C5C0 #C025C5
tetradic
#C5C025 #25C570 #252AC5 #C5257A
square
#C5C025 #25C570 #252AC5 #C5257A
split-complementary
#C5C025 #257AC5 #7025C5
monochromatic
#5E5C12 #918E1B #C5C025 #DDD84A #E7E37E

Accessibility & contrast

On white

1.92
#C5C025 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#C5C025 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C025
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C025#FFFFFF#000000##000000
##C5C0251.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B800
Deuteranopia (green-blind)
#D3BD34
Tritanopia (blue-blind)
#D4B3A4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c5c025;
/* rgb */ color: rgb(197, 192, 37);
/* oklch */ color: oklch(78.7% 0.160 107.6);
Tailwind
colors: {
  custom: {
    50: '#dbd26f',
    500: '#c5c025',
    950: '#000000',
  },
}
SCSS
$custom: #c5c025;
$custom-light: #dbd26f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c025",
  "rgb": {
    "r": 197,
    "g": 192,
    "b": 37
  },
  "hsl": {
    "h": 58.125,
    "s": 68.376,
    "l": 45.882
  },
  "oklch": {
    "l": 0.78714,
    "c": 0.16049,
    "h": 107.6
  },
  "luminance": 0.49703
}

Semantic roles & 50–950 ramp

primary
#C5C025
secondary
#777ACF
accent
#42EB3D
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161408
muted
#84827B

Preview Lab

Preview with #C5C025

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

Preview Lab → · Contrast checker → · Palette generator →

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