#C5B949#C5B949

#C5B949 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.5% C 0.132 H 103.2°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#C5B949
RGBrgb(197, 185, 73)
HSLhsl(54, 52%, 53%)
HSVhsv(54, 63%, 77%)
CMYKcmyk(0%, 6.1%, 62.9%, 22.7%)
CIE-LABlab(74.22, -9.33, 56.59)
CIE-LCHlch(74.22, 57.35, 99.36°)
OKLaboklab(77.46% -0.0302 0.1289)
OKLCHoklch(77.46% 0.132 103.2)
XYZxyz(41.5791, 47.0509, 13.1936)
Luminance0.4705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B949 #4955C5
analogous
#C57B49 #C5B949 #93C549
triadic
#C5B949 #49C5B9 #B949C5
tetradic
#C5B949 #49C57B #4955C5 #C54993
square
#C5B949 #49C57B #4955C5 #C54993
split-complementary
#C5B949 #4993C5 #7B49C5
monochromatic
#706924 #9E9432 #C5B949 #D4CB77 #E3DDA6

Accessibility & contrast

On white

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

On black

10.41
#C5B949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B949
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B949#FFFFFF#000000##000000
##C5B9491.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5b949;
/* rgb */ color: rgb(197, 185, 73);
/* oklch */ color: oklch(77.5% 0.132 103.2);
Tailwind
colors: {
  custom: {
    50: '#dacd81',
    500: '#c5b949',
    950: '#000000',
  },
}
SCSS
$custom: #c5b949;
$custom-light: #dacd81;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b949",
  "rgb": {
    "r": 197,
    "g": 185,
    "b": 73
  },
  "hsl": {
    "h": 54.194,
    "s": 51.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.77457,
    "c": 0.13235,
    "h": 103.2
  },
  "luminance": 0.47049
}

Semantic roles & 50–950 ramp

primary
#C5B949
secondary
#9A9FD0
accent
#5ADB4D
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C5B949

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

Preview Lab → · Contrast checker → · Palette generator →

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