#C5C133#C5C133

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

Color values

HEX#C5C133
RGBrgb(197, 193, 51)
HSLhsl(58, 59%, 49%)
HSVhsv(58, 74%, 77%)
CMYKcmyk(0%, 2%, 74.1%, 22.7%)
CIE-LABlab(76.22, -14.58, 67.05)
CIE-LCHlch(76.22, 68.62, 102.27°)
OKLaboklab(79% -0.0473 0.1473)
OKLCHoklch(79% 0.155 107.8)
XYZxyz(42.6951, 50.2507, 10.5817)
Luminance0.5025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C133 #3337C5
analogous
#C57833 #C5C133 #80C533
triadic
#C5C133 #33C5C1 #C133C5
tetradic
#C5C133 #33C578 #3337C5 #C53380
square
#C5C133 #33C578 #3337C5 #C53380
split-complementary
#C5C133 #3380C5 #7833C5
monochromatic
#64621A #949126 #C5C133 #D6D25F #E2E090

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5C133#FFFFFF#000000##000000
##C5C1331.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)
#D1B914
Deuteranopia (green-blind)
#D4BE3E
Tritanopia (blue-blind)
#D3B4A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c5c133;
/* rgb */ color: rgb(197, 193, 51);
/* oklch */ color: oklch(79.0% 0.155 107.8);
Tailwind
colors: {
  custom: {
    50: '#dad375',
    500: '#c5c133',
    950: '#000000',
  },
}
SCSS
$custom: #c5c133;
$custom-light: #dad375;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c133",
  "rgb": {
    "r": 197,
    "g": 193,
    "b": 51
  },
  "hsl": {
    "h": 58.356,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.79002,
    "c": 0.15471,
    "h": 107.8
  },
  "luminance": 0.50249
}

Semantic roles & 50–950 ramp

primary
#C5C133
secondary
#2E306E
accent
#4AE246
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C133

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

Preview Lab → · Contrast checker → · Palette generator →

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