#C5C134#C5C134

#C5C134 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#C5C134
RGBrgb(197, 193, 52)
HSLhsl(58, 58%, 49%)
HSVhsv(58, 74%, 77%)
CMYKcmyk(0%, 2%, 73.6%, 22.7%)
CIE-LABlab(76.23, -14.54, 66.72)
CIE-LCHlch(76.23, 68.29, 102.29°)
OKLaboklab(79.01% -0.0471 0.1468)
OKLCHoklch(79.01% 0.154 107.8)
XYZxyz(42.7174, 50.2596, 10.6990)
Luminance0.5026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C134 #3438C5
analogous
#C57934 #C5C134 #81C534
triadic
#C5C134 #34C5C1 #C134C5
tetradic
#C5C134 #34C579 #3438C5 #C53481
square
#C5C134 #34C579 #3438C5 #C53481
split-complementary
#C5C134 #3481C5 #7934C5
monochromatic
#64621A #959227 #C5C134 #D5D261 #E2E091

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5C134#FFFFFF#000000##000000
##C5C1341.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)
#D1B917
Deuteranopia (green-blind)
#D4BE3F
Tritanopia (blue-blind)
#D3B4A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c5c134;
/* rgb */ color: rgb(197, 193, 52);
/* oklch */ color: oklch(79.0% 0.154 107.8);
Tailwind
colors: {
  custom: {
    50: '#dad376',
    500: '#c5c134',
    950: '#000000',
  },
}
SCSS
$custom: #c5c134;
$custom-light: #dad376;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c134",
  "rgb": {
    "r": 197,
    "g": 193,
    "b": 52
  },
  "hsl": {
    "h": 58.345,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79008,
    "c": 0.15415,
    "h": 107.8
  },
  "luminance": 0.50258
}

Semantic roles & 50–950 ramp

primary
#C5C134
secondary
#2F306F
accent
#4BE146
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C134

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

Preview Lab → · Contrast checker → · Palette generator →

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