#C4A738#C4A738

#C4A738 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.4% C 0.130 H 94.0°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#C4A738
RGBrgb(196, 167, 56)
HSLhsl(48, 56%, 49%)
HSVhsv(48, 71%, 77%)
CMYKcmyk(0%, 14.8%, 71.4%, 23.1%)
CIE-LABlab(69.23, -1.29, 58.45)
CIE-LCHlch(69.23, 58.47, 91.27°)
OKLaboklab(73.43% -0.0092 0.13)
OKLCHoklch(73.43% 0.13 94)
XYZxyz(37.2994, 39.6608, 9.4313)
Luminance0.3966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A738 #3855C4
analogous
#C46138 #C4A738 #9BC438
triadic
#C4A738 #38C4A7 #A738C4
tetradic
#C4A738 #38C461 #3855C4 #C4389B
square
#C4A738 #38C461 #3855C4 #C4389B
split-complementary
#C4A738 #389BC4 #6138C4
monochromatic
#65561D #947E2A #C4A738 #D3BD66 #E1D196

Accessibility & contrast

On white

2.35
#C4A738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#C4A738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A738
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A738#FFFFFF#000000##000000
##C4A7381.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4a738;
/* rgb */ color: rgb(196, 167, 56);
/* oklch */ color: oklch(73.4% 0.130 94.0);
Tailwind
colors: {
  custom: {
    50: '#dac075',
    500: '#c4a738',
    950: '#000000',
  },
}
SCSS
$custom: #c4a738;
$custom-light: #dac075;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a738",
  "rgb": {
    "r": 196,
    "g": 167,
    "b": 56
  },
  "hsl": {
    "h": 47.571,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.73435,
    "c": 0.13034,
    "h": 94
  },
  "luminance": 0.39659
}

Semantic roles & 50–950 ramp

primary
#C4A738
secondary
#8C99CC
accent
#68DF49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C4A738

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

Preview Lab → · Contrast checker → · Palette generator →

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