#C2A23C#C2A23C

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

Color values

HEX#C2A23C
RGBrgb(194, 162, 60)
HSLhsl(46, 53%, 50%)
HSVhsv(46, 69%, 76%)
CMYKcmyk(0%, 16.5%, 69.1%, 23.9%)
CIE-LABlab(67.75, 0.71, 55.25)
CIE-LCHlch(67.75, 55.26, 89.26°)
OKLaboklab(72.24% -0.0028 0.124)
OKLCHoklch(72.24% 0.124 91.3)
XYZxyz(35.9860, 37.6383, 9.6436)
Luminance0.3764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A23C #3C5CC2
analogous
#C25F3C #C2A23C #9FC23C
triadic
#C2A23C #3CC2A2 #A23CC2
tetradic
#C2A23C #3CC25F #3C5CC2 #C23C9F
square
#C2A23C #3CC25F #3C5CC2 #C23C9F
split-complementary
#C2A23C #3C9FC2 #5F3CC2
monochromatic
#65541F #937B2E #C2A23C #D1B86A #DFCF99

Accessibility & contrast

On white

2.46
#C2A23C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#C2A23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A23C
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A23C#FFFFFF#000000##000000
##C2A23C1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2a23c;
/* rgb */ color: rgb(194, 162, 60);
/* oklch */ color: oklch(72.2% 0.124 91.3);
Tailwind
colors: {
  custom: {
    50: '#d8bd77',
    500: '#c2a23c',
    950: '#000000',
  },
}
SCSS
$custom: #c2a23c;
$custom-light: #d8bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a23c",
  "rgb": {
    "r": 194,
    "g": 162,
    "b": 60
  },
  "hsl": {
    "h": 45.672,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.72235,
    "c": 0.12407,
    "h": 91.3
  },
  "luminance": 0.37636
}

Semantic roles & 50–950 ramp

primary
#C2A23C
secondary
#8F9DCB
accent
#6EDC4C
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2A23C

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

Preview Lab → · Contrast checker → · Palette generator →

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