#C5A738#C5A738

#C5A738 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.5% C 0.131 H 93.5°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#C5A738
RGBrgb(197, 167, 56)
HSLhsl(47, 56%, 50%)
HSVhsv(47, 72%, 77%)
CMYKcmyk(0%, 15.2%, 71.6%, 22.7%)
CIE-LABlab(69.32, -0.86, 58.58)
CIE-LCHlch(69.32, 58.59, 90.84°)
OKLaboklab(73.53% -0.008 0.1303)
OKLCHoklch(73.53% 0.131 93.5)
XYZxyz(37.5605, 39.7954, 9.4435)
Luminance0.3979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A738 #3856C5
analogous
#C56138 #C5A738 #9DC538
triadic
#C5A738 #38C5A7 #A738C5
tetradic
#C5A738 #38C561 #3856C5 #C5389D
square
#C5A738 #38C561 #3856C5 #C5389D
split-complementary
#C5A738 #389DC5 #6138C5
monochromatic
#66561D #957F2A #C5A738 #D4BC67 #E1D196

Accessibility & contrast

On white

2.34
#C5A738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#C5A738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A738
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A738#FFFFFF#000000##000000
##C5A7381.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A428
Deuteranopia (green-blind)
#C0AD3E
Tritanopia (blue-blind)
#D59A91
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c5a738;
/* rgb */ color: rgb(197, 167, 56);
/* oklch */ color: oklch(73.5% 0.131 93.5);
Tailwind
colors: {
  custom: {
    50: '#dac075',
    500: '#c5a738',
    950: '#000000',
  },
}
SCSS
$custom: #c5a738;
$custom-light: #dac075;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a738",
  "rgb": {
    "r": 197,
    "g": 167,
    "b": 56
  },
  "hsl": {
    "h": 47.234,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.73533,
    "c": 0.13051,
    "h": 93.5
  },
  "luminance": 0.39793
}

Semantic roles & 50–950 ramp

primary
#C5A738
secondary
#8C9ACD
accent
#69DF49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C5A738

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

Preview Lab → · Contrast checker → · Palette generator →

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