#C5A74B#C5A74B

#C5A74B is a light, moderate yellow. Relative luminance 0.400; OKLCH L 73.7% C 0.116 H 91.2°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#C5A74B
RGBrgb(197, 167, 75)
HSLhsl(45, 51%, 53%)
HSVhsv(45, 62%, 77%)
CMYKcmyk(0%, 15.2%, 61.9%, 22.7%)
CIE-LABlab(69.48, 0.26, 50.51)
CIE-LCHlch(69.48, 50.51, 89.70°)
OKLaboklab(73.71% -0.0025 0.1162)
OKLCHoklch(73.71% 0.116 91.2)
XYZxyz(38.1165, 40.0178, 12.3718)
Luminance0.4002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A74B #4B69C5
analogous
#C56A4B #C5A74B #A6C54B
triadic
#C5A74B #4BC5A7 #A74BC5
tetradic
#C5A74B #4BC56A #4B69C5 #C54BA6
square
#C5A74B #4BC56A #4B69C5 #C54BA6
split-complementary
#C5A74B #4BA6C5 #6A4BC5
monochromatic
#715E24 #9F8533 #C5A74B #D4BE79 #E3D4A8

Accessibility & contrast

On white

2.33
#C5A74B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#C5A74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A74B
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A74B#FFFFFF#000000##000000
##C5A74B1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A541
Deuteranopia (green-blind)
#BFAD4F
Tritanopia (blue-blind)
#D49B93
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c5a74b;
/* rgb */ color: rgb(197, 167, 75);
/* oklch */ color: oklch(73.7% 0.116 91.2);
Tailwind
colors: {
  custom: {
    50: '#dac081',
    500: '#c5a74b',
    950: '#000000',
  },
}
SCSS
$custom: #c5a74b;
$custom-light: #dac081;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a74b",
  "rgb": {
    "r": 197,
    "g": 167,
    "b": 75
  },
  "hsl": {
    "h": 45.246,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.73709,
    "c": 0.11625,
    "h": 91.2
  },
  "luminance": 0.40016
}

Semantic roles & 50–950 ramp

primary
#C5A74B
secondary
#9CA9D0
accent
#70DB4D
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120A
muted
#83817C

Preview Lab

Preview with #C5A74B

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

Preview Lab → · Contrast checker → · Palette generator →

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