#C4A834#C4A834

#C4A834 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.6% C 0.134 H 95.0°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#C4A834
RGBrgb(196, 168, 52)
HSLhsl(48, 58%, 49%)
HSVhsv(48, 73%, 77%)
CMYKcmyk(0%, 14.3%, 73.5%, 23.1%)
CIE-LABlab(69.46, -2.02, 60.24)
CIE-LCHlch(69.46, 60.27, 91.92°)
OKLaboklab(73.61% -0.0117 0.1331)
OKLCHoklch(73.61% 0.134 95)
XYZxyz(37.3894, 39.9910, 8.9978)
Luminance0.3999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A834 #3450C4
analogous
#C46034 #C4A834 #98C434
triadic
#C4A834 #34C4A8 #A834C4
tetradic
#C4A834 #34C460 #3450C4 #C43498
square
#C4A834 #34C460 #3450C4 #C43498
split-complementary
#C4A834 #3498C4 #6034C4
monochromatic
#63551A #947F27 #C4A834 #D5BE60 #E2D291

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4A834#FFFFFF#000000##000000
##C4A8341.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)
#BAA521
Deuteranopia (green-blind)
#C1AD3B
Tritanopia (blue-blind)
#D49B91
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c4a834;
/* rgb */ color: rgb(196, 168, 52);
/* oklch */ color: oklch(73.6% 0.134 95.0);
Tailwind
colors: {
  custom: {
    50: '#dac173',
    500: '#c4a834',
    950: '#000000',
  },
}
SCSS
$custom: #c4a834;
$custom-light: #dac173;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a834",
  "rgb": {
    "r": 196,
    "g": 168,
    "b": 52
  },
  "hsl": {
    "h": 48.333,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73613,
    "c": 0.13356,
    "h": 95
  },
  "luminance": 0.39989
}

Semantic roles & 50–950 ramp

primary
#C4A834
secondary
#8795CC
accent
#65E147
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C4A834

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

Preview Lab → · Contrast checker → · Palette generator →

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