#C5B74A#C5B74A

#C5B74A is a light, vivid yellow. Relative luminance 0.462; OKLCH L 77.0% C 0.130 H 102.0°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#C5B74A
RGBrgb(197, 183, 74)
HSLhsl(53, 51%, 53%)
HSVhsv(53, 62%, 77%)
CMYKcmyk(0%, 7.1%, 62.4%, 22.7%)
CIE-LABlab(73.70, -8.23, 55.59)
CIE-LCHlch(73.70, 56.19, 98.42°)
OKLaboklab(77.04% -0.027 0.1269)
OKLCHoklch(77.04% 0.13 102)
XYZxyz(41.1971, 46.2333, 13.2311)
Luminance0.4623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B74A #4A58C5
analogous
#C5794A #C5B74A #95C54A
triadic
#C5B74A #4AC5B7 #B74AC5
tetradic
#C5B74A #4AC579 #4A58C5 #C54A95
square
#C5B74A #4AC579 #4A58C5 #C54A95
split-complementary
#C5B74A #4A95C5 #794AC5
monochromatic
#716824 #9F9333 #C5B74A #D4C978 #E3DCA7

Accessibility & contrast

On white

2.05
#C5B74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#C5B74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B74A
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B74A#FFFFFF#000000##000000
##C5B74A1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B23D
Deuteranopia (green-blind)
#CBB850
Tritanopia (blue-blind)
#D3ABA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c5b74a;
/* rgb */ color: rgb(197, 183, 74);
/* oklch */ color: oklch(77.0% 0.130 102.0);
Tailwind
colors: {
  custom: {
    50: '#d9cc81',
    500: '#c5b74a',
    950: '#000000',
  },
}
SCSS
$custom: #c5b74a;
$custom-light: #d9cc81;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b74a",
  "rgb": {
    "r": 197,
    "g": 183,
    "b": 74
  },
  "hsl": {
    "h": 53.171,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77043,
    "c": 0.12972,
    "h": 102
  },
  "luminance": 0.46232
}

Semantic roles & 50–950 ramp

primary
#C5B74A
secondary
#9BA1D0
accent
#5DDB4D
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C5B74A

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

Preview Lab → · Contrast checker → · Palette generator →

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