#C5B944#C5B944

#C5B944 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.4% C 0.136 H 103.4°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#C5B944
RGBrgb(197, 185, 68)
HSLhsl(54, 53%, 52%)
HSVhsv(54, 65%, 77%)
CMYKcmyk(0%, 6.1%, 65.5%, 22.7%)
CIE-LABlab(74.18, -9.64, 58.66)
CIE-LCHlch(74.18, 59.45, 99.33°)
OKLaboklab(77.41% -0.0317 0.1325)
OKLCHoklch(77.41% 0.136 103.4)
XYZxyz(41.4199, 46.9872, 12.3554)
Luminance0.4699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B944 #4450C5
analogous
#C57944 #C5B944 #90C544
triadic
#C5B944 #44C5B9 #B944C5
tetradic
#C5B944 #44C579 #4450C5 #C54490
square
#C5B944 #44C579 #4450C5 #C54490
split-complementary
#C5B944 #4490C5 #7944C5
monochromatic
#6D6622 #9C9230 #C5B944 #D3CA73 #E2DCA1

Accessibility & contrast

On white

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

On black

10.40
#C5B944 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B944
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B944#FFFFFF#000000##000000
##C5B9441.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5b944;
/* rgb */ color: rgb(197, 185, 68);
/* oklch */ color: oklch(77.4% 0.136 103.4);
Tailwind
colors: {
  custom: {
    50: '#dacd7e',
    500: '#c5b944',
    950: '#000000',
  },
}
SCSS
$custom: #c5b944;
$custom-light: #dacd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b944",
  "rgb": {
    "r": 197,
    "g": 185,
    "b": 68
  },
  "hsl": {
    "h": 54.419,
    "s": 52.653,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77412,
    "c": 0.13621,
    "h": 103.4
  },
  "luminance": 0.46986
}

Semantic roles & 50–950 ramp

primary
#C5B944
secondary
#969BCF
accent
#59DC4C
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B944

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

Preview Lab → · Contrast checker → · Palette generator →

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