#C5B141#C5B141

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

Color values

HEX#C5B141
RGBrgb(197, 177, 65)
HSLhsl(51, 53%, 51%)
HSVhsv(51, 67%, 77%)
CMYKcmyk(0%, 10.2%, 67%, 22.7%)
CIE-LABlab(72.03, -5.66, 57.66)
CIE-LCHlch(72.03, 57.94, 95.60°)
OKLaboklab(75.69% -0.0207 0.1299)
OKLCHoklch(75.69% 0.132 99)
XYZxyz(39.7040, 43.6981, 11.3432)
Luminance0.4370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B141 #4155C5
analogous
#C56F41 #C5B141 #97C541
triadic
#C5B141 #41C5B1 #B141C5
tetradic
#C5B141 #41C56F #4155C5 #C54197
square
#C5B141 #41C56F #4155C5 #C54197
split-complementary
#C5B141 #4197C5 #6F41C5
monochromatic
#6B6021 #9A8A2F #C5B141 #D3C470 #E2D79F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5B141#FFFFFF#000000##000000
##C5B1411.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)
#C2AC32
Deuteranopia (green-blind)
#C7B447
Tritanopia (blue-blind)
#D4A49A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c5b141;
/* rgb */ color: rgb(197, 177, 65);
/* oklch */ color: oklch(75.7% 0.132 99.0);
Tailwind
colors: {
  custom: {
    50: '#dac87b',
    500: '#c5b141',
    950: '#000000',
  },
}
SCSS
$custom: #c5b141;
$custom-light: #dac87b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b141",
  "rgb": {
    "r": 197,
    "g": 177,
    "b": 65
  },
  "hsl": {
    "h": 50.909,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75693,
    "c": 0.13153,
    "h": 99
  },
  "luminance": 0.43696
}

Semantic roles & 50–950 ramp

primary
#C5B141
secondary
#949DCE
accent
#61DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B141

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

Preview Lab → · Contrast checker → · Palette generator →

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