#C5B841#C5B841

#C5B841 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.2% C 0.138 H 103.0°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#C5B841
RGBrgb(197, 184, 65)
HSLhsl(54, 53%, 51%)
HSVhsv(54, 67%, 77%)
CMYKcmyk(0%, 6.6%, 67%, 22.7%)
CIE-LABlab(73.89, -9.30, 59.59)
CIE-LCHlch(73.89, 60.31, 98.87°)
OKLaboklab(77.17% -0.031 0.134)
OKLCHoklch(77.17% 0.138 103)
XYZxyz(41.1223, 46.5346, 11.8160)
Luminance0.4653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B841 #414EC5
analogous
#C57641 #C5B841 #90C541
triadic
#C5B841 #41C5B8 #B841C5
tetradic
#C5B841 #41C576 #414EC5 #C54190
square
#C5B841 #41C576 #414EC5 #C54190
split-complementary
#C5B841 #4190C5 #7641C5
monochromatic
#6B6421 #9A8F2F #C5B841 #D3CA70 #E2DB9F

Accessibility & contrast

On white

2.04
#C5B841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#C5B841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B841
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B841#FFFFFF#000000##000000
##C5B8411.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B231
Deuteranopia (green-blind)
#CCB848
Tritanopia (blue-blind)
#D3ACA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c5b841;
/* rgb */ color: rgb(197, 184, 65);
/* oklch */ color: oklch(77.2% 0.138 103.0);
Tailwind
colors: {
  custom: {
    50: '#dacd7c',
    500: '#c5b841',
    950: '#000000',
  },
}
SCSS
$custom: #c5b841;
$custom-light: #dacd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b841",
  "rgb": {
    "r": 197,
    "g": 184,
    "b": 65
  },
  "hsl": {
    "h": 54.091,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.77174,
    "c": 0.13751,
    "h": 103
  },
  "luminance": 0.46533
}

Semantic roles & 50–950 ramp

primary
#C5B841
secondary
#949ACE
accent
#59DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B841

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

Preview Lab → · Contrast checker → · Palette generator →

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