#C5B941#C5B941

#C5B941 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.4% C 0.138 H 103.6°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#C5B941
RGBrgb(197, 185, 65)
HSLhsl(55, 53%, 51%)
HSVhsv(55, 67%, 77%)
CMYKcmyk(0%, 6.1%, 67%, 22.7%)
CIE-LABlab(74.16, -9.81, 59.86)
CIE-LCHlch(74.16, 60.66, 99.31°)
OKLaboklab(77.39% -0.0325 0.1345)
OKLCHoklch(77.39% 0.138 103.6)
XYZxyz(41.3307, 46.9515, 11.8855)
Luminance0.4695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B941 #414DC5
analogous
#C57741 #C5B941 #8FC541
triadic
#C5B941 #41C5B9 #B941C5
tetradic
#C5B941 #41C577 #414DC5 #C5418F
square
#C5B941 #41C577 #414DC5 #C5418F
split-complementary
#C5B941 #418FC5 #7741C5
monochromatic
#6B6421 #9A902F #C5B941 #D3CA70 #E2DC9F

Accessibility & contrast

On white

2.02
#C5B941 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#C5B941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B941
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B941#FFFFFF#000000##000000
##C5B9411.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B330
Deuteranopia (green-blind)
#CDB948
Tritanopia (blue-blind)
#D3ADA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c5b941;
/* rgb */ color: rgb(197, 185, 65);
/* oklch */ color: oklch(77.4% 0.138 103.6);
Tailwind
colors: {
  custom: {
    50: '#dacd7c',
    500: '#c5b941',
    950: '#000000',
  },
}
SCSS
$custom: #c5b941;
$custom-light: #dacd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b941",
  "rgb": {
    "r": 197,
    "g": 185,
    "b": 65
  },
  "hsl": {
    "h": 54.545,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.77387,
    "c": 0.13841,
    "h": 103.6
  },
  "luminance": 0.4695
}

Semantic roles & 50–950 ramp

primary
#C5B941
secondary
#9499CE
accent
#58DD4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B941

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

Preview Lab → · Contrast checker → · Palette generator →

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