#C5A233#C5A233

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

Color values

HEX#C5A233
RGBrgb(197, 162, 51)
HSLhsl(46, 59%, 49%)
HSVhsv(46, 74%, 77%)
CMYKcmyk(0%, 17.8%, 74.1%, 22.7%)
CIE-LABlab(67.99, 1.58, 59.22)
CIE-LCHlch(67.99, 59.24, 88.47°)
OKLaboklab(72.47% -0.0016 0.1306)
OKLCHoklch(72.47% 0.131 90.7)
XYZxyz(36.5459, 37.9523, 8.5319)
Luminance0.3795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A233 #3356C5
analogous
#C55933 #C5A233 #9FC533
triadic
#C5A233 #33C5A2 #A233C5
tetradic
#C5A233 #33C559 #3356C5 #C5339F
square
#C5A233 #33C559 #3356C5 #C5339F
split-complementary
#C5A233 #339FC5 #5933C5
monochromatic
#64521A #947A26 #C5A233 #D6B95F #E2CF90

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5A233#FFFFFF#000000##000000
##C5A2331.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)
#B4A021
Deuteranopia (green-blind)
#BDAA39
Tritanopia (blue-blind)
#D5948C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c5a233;
/* rgb */ color: rgb(197, 162, 51);
/* oklch */ color: oklch(72.5% 0.131 90.7);
Tailwind
colors: {
  custom: {
    50: '#dbbd72',
    500: '#c5a233',
    950: '#000000',
  },
}
SCSS
$custom: #c5a233;
$custom-light: #dbbd72;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a233",
  "rgb": {
    "r": 197,
    "g": 162,
    "b": 51
  },
  "hsl": {
    "h": 45.616,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72466,
    "c": 0.13066,
    "h": 90.7
  },
  "luminance": 0.3795
}

Semantic roles & 50–950 ramp

primary
#C5A233
secondary
#8798CD
accent
#6BE246
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C5A233

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

Preview Lab → · Contrast checker → · Palette generator →

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