#C4A538#C4A538

#C4A538 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 73.0% C 0.129 H 92.7°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#C4A538
RGBrgb(196, 165, 56)
HSLhsl(47, 56%, 49%)
HSVhsv(47, 71%, 77%)
CMYKcmyk(0%, 15.8%, 71.4%, 23.1%)
CIE-LABlab(68.70, -0.23, 57.93)
CIE-LCHlch(68.70, 57.93, 90.23°)
OKLaboklab(73.02% -0.0061 0.1289)
OKLCHoklch(73.02% 0.129 92.7)
XYZxyz(36.9359, 38.9337, 9.3101)
Luminance0.3893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A538 #3857C4
analogous
#C45F38 #C4A538 #9DC438
triadic
#C4A538 #38C4A5 #A538C4
tetradic
#C4A538 #38C45F #3857C4 #C4389D
square
#C4A538 #38C45F #3857C4 #C4389D
split-complementary
#C4A538 #389DC4 #5F38C4
monochromatic
#65551D #947D2A #C4A538 #D3BB66 #E1D096

Accessibility & contrast

On white

2.39
#C4A538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#C4A538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A538
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A538#FFFFFF#000000##000000
##C4A5381.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A228
Deuteranopia (green-blind)
#BEAB3E
Tritanopia (blue-blind)
#D4988F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c4a538;
/* rgb */ color: rgb(196, 165, 56);
/* oklch */ color: oklch(73.0% 0.129 92.7);
Tailwind
colors: {
  custom: {
    50: '#dabf75',
    500: '#c4a538',
    950: '#000000',
  },
}
SCSS
$custom: #c4a538;
$custom-light: #dabf75;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a538",
  "rgb": {
    "r": 196,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 46.714,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.73021,
    "c": 0.12907,
    "h": 92.7
  },
  "luminance": 0.38932
}

Semantic roles & 50–950 ramp

primary
#C4A538
secondary
#8C9ACC
accent
#6ADF49
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C4A538

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

Preview Lab → · Contrast checker → · Palette generator →

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