#C3A021#C3A021

#C3A021 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.7% C 0.138 H 91.9°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#C3A021
RGBrgb(195, 160, 33)
HSLhsl(47, 71%, 45%)
HSVhsv(47, 83%, 76%)
CMYKcmyk(0%, 17.9%, 83.1%, 23.5%)
CIE-LABlab(67.17, 1.10, 64.47)
CIE-LCHlch(67.17, 64.48, 89.02°)
OKLaboklab(71.75% -0.0046 0.1383)
OKLCHoklch(71.75% 0.138 91.9)
XYZxyz(35.3531, 36.8558, 6.6904)
Luminance0.3685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A021 #2144C3
analogous
#C34F21 #C3A021 #95C321
triadic
#C3A021 #21C3A0 #A021C3
tetradic
#C3A021 #21C34F #2144C3 #C32195
square
#C3A021 #21C34F #2144C3 #C32195
split-complementary
#C3A021 #2195C3 #4F21C3
monochromatic
#5A4A0F #8F7518 #C3A021 #DFBD42 #E8CF77

Accessibility & contrast

On white

2.51
#C3A021 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#C3A021 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3A021
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3A021#FFFFFF#000000##000000
##C3A0211.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#BBA82A
Tritanopia (blue-blind)
#D49289
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c3a021;
/* rgb */ color: rgb(195, 160, 33);
/* oklch */ color: oklch(71.7% 0.138 91.9);
Tailwind
colors: {
  custom: {
    50: '#dabb69',
    500: '#c3a021',
    950: '#000000',
  },
}
SCSS
$custom: #c3a021;
$custom-light: #dabb69;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a021",
  "rgb": {
    "r": 195,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 47.037,
    "s": 71.053,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71745,
    "c": 0.13839,
    "h": 91.9
  },
  "luminance": 0.36854
}

Semantic roles & 50–950 ramp

primary
#C3A021
secondary
#7185CF
accent
#61EE3A
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161107
muted
#84807A

Preview Lab

Preview with #C3A021

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

Preview Lab → · Contrast checker → · Palette generator →

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