#C2A430#C2A430

#C2A430 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.6% C 0.133 H 93.9°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#C2A430
RGBrgb(194, 164, 48)
HSLhsl(48, 60%, 47%)
HSVhsv(48, 75%, 76%)
CMYKcmyk(0%, 15.5%, 75.3%, 23.9%)
CIE-LABlab(68.19, -0.94, 60.44)
CIE-LCHlch(68.19, 60.45, 90.89°)
OKLaboklab(72.56% -0.0089 0.1328)
OKLCHoklch(72.56% 0.133 93.9)
XYZxyz(36.0591, 38.2357, 8.2767)
Luminance0.3823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A430 #304EC2
analogous
#C25B30 #C2A430 #97C230
triadic
#C2A430 #30C2A4 #A430C2
tetradic
#C2A430 #30C25B #304EC2 #C23097
square
#C2A430 #30C25B #304EC2 #C23097
split-complementary
#C2A430 #3097C2 #5B30C2
monochromatic
#605118 #917B24 #C2A430 #D6BC59 #E2D08A

Accessibility & contrast

On white

2.43
#C2A430 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#C2A430 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A430
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A430#FFFFFF#000000##000000
##C2A4301.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11B
Deuteranopia (green-blind)
#BDAA37
Tritanopia (blue-blind)
#D2978D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c2a430;
/* rgb */ color: rgb(194, 164, 48);
/* oklch */ color: oklch(72.6% 0.133 93.9);
Tailwind
colors: {
  custom: {
    50: '#d9be71',
    500: '#c2a430',
    950: '#000000',
  },
}
SCSS
$custom: #c2a430;
$custom-light: #d9be71;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a430",
  "rgb": {
    "r": 194,
    "g": 164,
    "b": 48
  },
  "hsl": {
    "h": 47.671,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72556,
    "c": 0.13308,
    "h": 93.9
  },
  "luminance": 0.38234
}

Semantic roles & 50–950 ramp

primary
#C2A430
secondary
#8291CC
accent
#65E344
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2A430

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

Preview Lab → · Contrast checker → · Palette generator →

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