#C5A234#C5A234

#C5A234 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.5% C 0.130 H 90.6°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#C5A234
RGBrgb(197, 162, 52)
HSLhsl(46, 58%, 49%)
HSVhsv(46, 74%, 77%)
CMYKcmyk(0%, 17.8%, 73.6%, 22.7%)
CIE-LABlab(67.99, 1.62, 58.84)
CIE-LCHlch(67.99, 58.86, 88.42°)
OKLaboklab(72.47% -0.0013 0.13)
OKLCHoklch(72.47% 0.13 90.6)
XYZxyz(36.5682, 37.9612, 8.6493)
Luminance0.3796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A234 #3457C5
analogous
#C55A34 #C5A234 #A0C534
triadic
#C5A234 #34C5A2 #A234C5
tetradic
#C5A234 #34C55A #3457C5 #C534A0
square
#C5A234 #34C55A #3457C5 #C534A0
split-complementary
#C5A234 #34A0C5 #5A34C5
monochromatic
#64521A #957A27 #C5A234 #D5B961 #E2CF91

Accessibility & contrast

On white

2.44
#C5A234 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#C5A234 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A234
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A234#FFFFFF#000000##000000
##C5A2341.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A023
Deuteranopia (green-blind)
#BDAA3A
Tritanopia (blue-blind)
#D5948C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c5a234;
/* rgb */ color: rgb(197, 162, 52);
/* oklch */ color: oklch(72.5% 0.130 90.6);
Tailwind
colors: {
  custom: {
    50: '#dbbd73',
    500: '#c5a234',
    950: '#000000',
  },
}
SCSS
$custom: #c5a234;
$custom-light: #dbbd73;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a234",
  "rgb": {
    "r": 197,
    "g": 162,
    "b": 52
  },
  "hsl": {
    "h": 45.517,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72473,
    "c": 0.13005,
    "h": 90.6
  },
  "luminance": 0.37959
}

Semantic roles & 50–950 ramp

primary
#C5A234
secondary
#8899CD
accent
#6CE146
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C5A234

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

Preview Lab → · Contrast checker → · Palette generator →

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