#C2A238#C2A238

#C2A238 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 72.2% C 0.127 H 91.8°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#C2A238
RGBrgb(194, 162, 56)
HSLhsl(46, 55%, 49%)
HSVhsv(46, 71%, 76%)
CMYKcmyk(0%, 16.5%, 71.1%, 23.9%)
CIE-LABlab(67.72, 0.50, 56.88)
CIE-LCHlch(67.72, 56.89, 89.50°)
OKLaboklab(72.2% -0.0039 0.1268)
OKLCHoklch(72.2% 0.127 91.8)
XYZxyz(35.8842, 37.5976, 9.1076)
Luminance0.3760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A238 #3858C2
analogous
#C25D38 #C2A238 #9DC238
triadic
#C2A238 #38C2A2 #A238C2
tetradic
#C2A238 #38C25D #3858C2 #C2389D
square
#C2A238 #38C25D #3858C2 #C2389D
split-complementary
#C2A238 #389DC2 #5D38C2
monochromatic
#63531D #937A2A #C2A238 #D2B965 #E0CF94

Accessibility & contrast

On white

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

On black

8.52
#C2A238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A238
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A238#FFFFFF#000000##000000
##C2A2381.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A029
Deuteranopia (green-blind)
#BCA93E
Tritanopia (blue-blind)
#D2958D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c2a238;
/* rgb */ color: rgb(194, 162, 56);
/* oklch */ color: oklch(72.2% 0.127 91.8);
Tailwind
colors: {
  custom: {
    50: '#d8bd75',
    500: '#c2a238',
    950: '#000000',
  },
}
SCSS
$custom: #c2a238;
$custom-light: #d8bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a238",
  "rgb": {
    "r": 194,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 46.087,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.72201,
    "c": 0.12684,
    "h": 91.8
  },
  "luminance": 0.37596
}

Semantic roles & 50–950 ramp

primary
#C2A238
secondary
#8A99CB
accent
#6CDF49
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2A238

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

Preview Lab → · Contrast checker → · Palette generator →

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