#C2A02B#C2A02B

#C2A02B is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.7% C 0.133 H 91.7°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#C2A02B
RGBrgb(194, 160, 43)
HSLhsl(46, 64%, 46%)
HSVhsv(46, 78%, 76%)
CMYKcmyk(0%, 17.5%, 77.8%, 23.9%)
CIE-LABlab(67.12, 0.99, 61.22)
CIE-LCHlch(67.12, 61.23, 89.07°)
OKLaboklab(71.7% -0.0039 0.1334)
OKLCHoklch(71.7% 0.133 91.7)
XYZxyz(35.2570, 36.7876, 7.5287)
Luminance0.3679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A02B #2B4DC2
analogous
#C2552B #C2A02B #99C22B
triadic
#C2A02B #2BC2A0 #A02BC2
tetradic
#C2A02B #2BC255 #2B4DC2 #C22B99
square
#C2A02B #2BC255 #2B4DC2 #C22B99
split-complementary
#C2A02B #2B99C2 #552BC2
monochromatic
#5E4D15 #907720 #C2A02B #D9BA52 #E4CE84

Accessibility & contrast

On white

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

On black

8.36
#C2A02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A02B
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A02B#FFFFFF#000000##000000
##C2A02B1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E13
Deuteranopia (green-blind)
#BBA732
Tritanopia (blue-blind)
#D2928A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c2a02b;
/* rgb */ color: rgb(194, 160, 43);
/* oklch */ color: oklch(71.7% 0.133 91.7);
Tailwind
colors: {
  custom: {
    50: '#d9bb6e',
    500: '#c2a02b',
    950: '#000000',
  },
}
SCSS
$custom: #c2a02b;
$custom-light: #d9bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a02b",
  "rgb": {
    "r": 194,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 46.49,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71697,
    "c": 0.13348,
    "h": 91.7
  },
  "luminance": 0.36785
}

Semantic roles & 50–950 ramp

primary
#C2A02B
secondary
#7C8ECD
accent
#66E741
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #C2A02B

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

Preview Lab → · Contrast checker → · Palette generator →

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