#C2A230#C2A230

#C2A230 is a light, vivid yellow. Relative luminance 0.375; OKLCH L 72.1% C 0.132 H 92.6°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#C2A230
RGBrgb(194, 162, 48)
HSLhsl(47, 60%, 47%)
HSVhsv(47, 75%, 76%)
CMYKcmyk(0%, 16.5%, 75.3%, 23.9%)
CIE-LABlab(67.67, 0.13, 59.94)
CIE-LCHlch(67.67, 59.94, 89.88°)
OKLaboklab(72.14% -0.0059 0.1317)
OKLCHoklch(72.14% 0.132 92.6)
XYZxyz(35.7040, 37.5255, 8.1583)
Luminance0.3752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A230 #3050C2
analogous
#C25930 #C2A230 #99C230
triadic
#C2A230 #30C2A2 #A230C2
tetradic
#C2A230 #30C259 #3050C2 #C23099
square
#C2A230 #30C259 #3050C2 #C23099
split-complementary
#C2A230 #3099C2 #5930C2
monochromatic
#605018 #917924 #C2A230 #D6BB59 #E2CF8A

Accessibility & contrast

On white

2.47
#C2A230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#C2A230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A230
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A230#FFFFFF#000000##000000
##C2A2301.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1C
Deuteranopia (green-blind)
#BCA937
Tritanopia (blue-blind)
#D2958C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c2a230;
/* rgb */ color: rgb(194, 162, 48);
/* oklch */ color: oklch(72.1% 0.132 92.6);
Tailwind
colors: {
  custom: {
    50: '#d9bd71',
    500: '#c2a230',
    950: '#000000',
  },
}
SCSS
$custom: #c2a230;
$custom-light: #d9bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a230",
  "rgb": {
    "r": 194,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 46.849,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72142,
    "c": 0.13185,
    "h": 92.6
  },
  "luminance": 0.37523
}

Semantic roles & 50–950 ramp

primary
#C2A230
secondary
#8292CC
accent
#67E344
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2A230

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

Preview Lab → · Contrast checker → · Palette generator →

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