#C5A733#C5A733

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

Color values

HEX#C5A733
RGBrgb(197, 167, 51)
HSLhsl(48, 59%, 49%)
HSVhsv(48, 74%, 77%)
CMYKcmyk(0%, 15.2%, 74.1%, 22.7%)
CIE-LABlab(69.29, -1.09, 60.48)
CIE-LCHlch(69.29, 60.49, 91.04°)
OKLaboklab(73.5% -0.0092 0.1333)
OKLCHoklch(73.5% 0.134 94)
XYZxyz(37.4442, 39.7489, 8.8314)
Luminance0.3975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A733 #3351C5
analogous
#C55E33 #C5A733 #9AC533
triadic
#C5A733 #33C5A7 #A733C5
tetradic
#C5A733 #33C55E #3351C5 #C5339A
square
#C5A733 #33C55E #3351C5 #C5339A
split-complementary
#C5A733 #339AC5 #5E33C5
monochromatic
#64551A #947E26 #C5A733 #D6BD5F #E2D190

Accessibility & contrast

On white

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

On black

8.95
#C5A733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A733
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A733#FFFFFF#000000##000000
##C5A7331.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41F
Deuteranopia (green-blind)
#C0AD3A
Tritanopia (blue-blind)
#D59990
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c5a733;
/* rgb */ color: rgb(197, 167, 51);
/* oklch */ color: oklch(73.5% 0.134 94.0);
Tailwind
colors: {
  custom: {
    50: '#dbc073',
    500: '#c5a733',
    950: '#000000',
  },
}
SCSS
$custom: #c5a733;
$custom-light: #dbc073;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a733",
  "rgb": {
    "r": 197,
    "g": 167,
    "b": 51
  },
  "hsl": {
    "h": 47.671,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73496,
    "c": 0.13365,
    "h": 94
  },
  "luminance": 0.39747
}

Semantic roles & 50–950 ramp

primary
#C5A733
secondary
#8795CD
accent
#66E246
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#151208
muted
#84817B

Preview Lab

Preview with #C5A733

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

Preview Lab → · Contrast checker → · Palette generator →

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