#C5B142#C5B142

#C5B142 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.7% C 0.131 H 99.0°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#C5B142
RGBrgb(197, 177, 66)
HSLhsl(51, 53%, 52%)
HSVhsv(51, 66%, 77%)
CMYKcmyk(0%, 10.2%, 66.5%, 22.7%)
CIE-LABlab(72.03, -5.60, 57.25)
CIE-LCHlch(72.03, 57.53, 95.58°)
OKLaboklab(75.7% -0.0204 0.1292)
OKLCHoklch(75.7% 0.131 99)
XYZxyz(39.7332, 43.7098, 11.4971)
Luminance0.4371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B142 #4256C5
analogous
#C57042 #C5B142 #97C542
triadic
#C5B142 #42C5B1 #B142C5
tetradic
#C5B142 #42C570 #4256C5 #C54297
square
#C5B142 #42C570 #4256C5 #C54297
split-complementary
#C5B142 #4297C5 #7042C5
monochromatic
#6C6021 #9A8A2F #C5B142 #D3C471 #E2D8A0

Accessibility & contrast

On white

2.16
#C5B142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#C5B142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B142
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B142#FFFFFF#000000##000000
##C5B1421.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC34
Deuteranopia (green-blind)
#C7B448
Tritanopia (blue-blind)
#D4A49A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c5b142;
/* rgb */ color: rgb(197, 177, 66);
/* oklch */ color: oklch(75.7% 0.131 99.0);
Tailwind
colors: {
  custom: {
    50: '#dac87c',
    500: '#c5b142',
    950: '#000000',
  },
}
SCSS
$custom: #c5b142;
$custom-light: #dac87c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b142",
  "rgb": {
    "r": 197,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 50.84,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75702,
    "c": 0.13078,
    "h": 99
  },
  "luminance": 0.43708
}

Semantic roles & 50–950 ramp

primary
#C5B142
secondary
#959DCE
accent
#62DC4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B142

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

Preview Lab → · Contrast checker → · Palette generator →

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