#C5B341#C5B341

#C5B341 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.1% C 0.133 H 100.2°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#C5B341
RGBrgb(197, 179, 65)
HSLhsl(52, 53%, 51%)
HSVhsv(52, 67%, 77%)
CMYKcmyk(0%, 9.1%, 67%, 22.7%)
CIE-LABlab(72.56, -6.70, 58.21)
CIE-LCHlch(72.56, 58.60, 96.57°)
OKLaboklab(76.11% -0.0236 0.1311)
OKLCHoklch(76.11% 0.133 100.2)
XYZxyz(40.1019, 44.4940, 11.4759)
Luminance0.4449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B341 #4153C5
analogous
#C57141 #C5B341 #95C541
triadic
#C5B341 #41C5B3 #B341C5
tetradic
#C5B341 #41C571 #4153C5 #C54195
square
#C5B341 #41C571 #4153C5 #C54195
split-complementary
#C5B341 #4195C5 #7141C5
monochromatic
#6B6121 #9A8B2F #C5B341 #D3C670 #E2D99F

Accessibility & contrast

On white

2.12
#C5B341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#C5B341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B341
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B341#FFFFFF#000000##000000
##C5B3411.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE32
Deuteranopia (green-blind)
#C9B548
Tritanopia (blue-blind)
#D4A69C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c5b341;
/* rgb */ color: rgb(197, 179, 65);
/* oklch */ color: oklch(76.1% 0.133 100.2);
Tailwind
colors: {
  custom: {
    50: '#dac97c',
    500: '#c5b341',
    950: '#000000',
  },
}
SCSS
$custom: #c5b341;
$custom-light: #dac97c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b341",
  "rgb": {
    "r": 197,
    "g": 179,
    "b": 65
  },
  "hsl": {
    "h": 51.818,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.76115,
    "c": 0.13317,
    "h": 100.2
  },
  "luminance": 0.44492
}

Semantic roles & 50–950 ramp

primary
#C5B341
secondary
#949CCE
accent
#5FDD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B341

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

Preview Lab → · Contrast checker → · Palette generator →

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