#C5C142#C5C142

#C5C142 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.1% C 0.145 H 107.5°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#C5C142
RGBrgb(197, 193, 66)
HSLhsl(58, 53%, 52%)
HSVhsv(58, 66%, 77%)
CMYKcmyk(0%, 2%, 66.5%, 22.7%)
CIE-LABlab(76.32, -13.84, 61.67)
CIE-LCHlch(76.32, 63.21, 102.65°)
OKLaboklab(79.11% -0.0438 0.1385)
OKLCHoklch(79.11% 0.145 107.5)
XYZxyz(43.0808, 50.4050, 12.6130)
Luminance0.5040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C142 #4246C5
analogous
#C58042 #C5C142 #88C542
triadic
#C5C142 #42C5C1 #C142C5
tetradic
#C5C142 #42C580 #4246C5 #C54288
square
#C5C142 #42C580 #4246C5 #C54288
split-complementary
#C5C142 #4288C5 #8042C5
monochromatic
#6C6921 #9A972F #C5C142 #D3D071 #E2E0A0

Accessibility & contrast

On white

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

On black

11.08
#C5C142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C142
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C142#FFFFFF#000000##000000
##C5C1421.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA30
Deuteranopia (green-blind)
#D3BE4A
Tritanopia (blue-blind)
#D3B5A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c5c142;
/* rgb */ color: rgb(197, 193, 66);
/* oklch */ color: oklch(79.1% 0.145 107.5);
Tailwind
colors: {
  custom: {
    50: '#dad37d',
    500: '#c5c142',
    950: '#000000',
  },
}
SCSS
$custom: #c5c142;
$custom-light: #dad37d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c142",
  "rgb": {
    "r": 197,
    "g": 193,
    "b": 66
  },
  "hsl": {
    "h": 58.168,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79107,
    "c": 0.14527,
    "h": 107.5
  },
  "luminance": 0.50404
}

Semantic roles & 50–950 ramp

primary
#C5C142
secondary
#363875
accent
#50DC4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C142

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

Preview Lab → · Contrast checker → · Palette generator →

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