#C5C135#C5C135

#C5C135 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.0% C 0.154 H 107.8°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#C5C135
RGBrgb(197, 193, 53)
HSLhsl(58, 58%, 49%)
HSVhsv(58, 73%, 77%)
CMYKcmyk(0%, 2%, 73.1%, 22.7%)
CIE-LABlab(76.23, -14.50, 66.39)
CIE-LCHlch(76.23, 67.95, 102.32°)
OKLaboklab(79.01% -0.0469 0.1462)
OKLCHoklch(79.01% 0.154 107.8)
XYZxyz(42.7402, 50.2687, 10.8189)
Luminance0.5027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C135 #3539C5
analogous
#C57935 #C5C135 #81C535
triadic
#C5C135 #35C5C1 #C135C5
tetradic
#C5C135 #35C579 #3539C5 #C53581
square
#C5C135 #35C579 #3539C5 #C53581
split-complementary
#C5C135 #3581C5 #7935C5
monochromatic
#65631B #959228 #C5C135 #D5D262 #E2E093

Accessibility & contrast

On white

1.90
#C5C135 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#C5C135 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C135
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C135#FFFFFF#000000##000000
##C5C1351.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B919
Deuteranopia (green-blind)
#D4BE40
Tritanopia (blue-blind)
#D3B4A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c5c135;
/* rgb */ color: rgb(197, 193, 53);
/* oklch */ color: oklch(79.0% 0.154 107.8);
Tailwind
colors: {
  custom: {
    50: '#dad376',
    500: '#c5c135',
    950: '#000000',
  },
}
SCSS
$custom: #c5c135;
$custom-light: #dad376;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c135",
  "rgb": {
    "r": 197,
    "g": 193,
    "b": 53
  },
  "hsl": {
    "h": 58.333,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.79014,
    "c": 0.15358,
    "h": 107.8
  },
  "luminance": 0.50267
}

Semantic roles & 50–950 ramp

primary
#C5C135
secondary
#2F316F
accent
#4BE147
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C135

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

Preview Lab → · Contrast checker → · Palette generator →

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