#C2A23F#C2A23F

#C2A23F is a light, vivid yellow. Relative luminance 0.377; OKLCH L 72.3% C 0.122 H 90.9°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#C2A23F
RGBrgb(194, 162, 63)
HSLhsl(45, 52%, 50%)
HSVhsv(45, 68%, 76%)
CMYKcmyk(0%, 16.5%, 67.5%, 23.9%)
CIE-LABlab(67.78, 0.88, 53.99)
CIE-LCHlch(67.78, 54.00, 89.07°)
OKLaboklab(72.26% -0.002 0.1219)
OKLCHoklch(72.26% 0.122 90.9)
XYZxyz(36.0675, 37.6710, 10.0731)
Luminance0.3767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A23F #3F5FC2
analogous
#C2613F #C2A23F #A0C23F
triadic
#C2A23F #3FC2A2 #A23FC2
tetradic
#C2A23F #3FC261 #3F5FC2 #C23FA0
square
#C2A23F #3FC261 #3F5FC2 #C23FA0
split-complementary
#C2A23F #3FA0C2 #613FC2
monochromatic
#665520 #957C2F #C2A23F #D1B86D #E0CF9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2A23F#FFFFFF#000000##000000
##C2A23F1.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)
#B3A033
Deuteranopia (green-blind)
#BBA944
Tritanopia (blue-blind)
#D1958D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c2a23f;
/* rgb */ color: rgb(194, 162, 63);
/* oklch */ color: oklch(72.3% 0.122 90.9);
Tailwind
colors: {
  custom: {
    50: '#d8bd79',
    500: '#c2a23f',
    950: '#000000',
  },
}
SCSS
$custom: #c2a23f;
$custom-light: #d8bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a23f",
  "rgb": {
    "r": 194,
    "g": 162,
    "b": 63
  },
  "hsl": {
    "h": 45.344,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.72262,
    "c": 0.1219,
    "h": 90.9
  },
  "luminance": 0.37669
}

Semantic roles & 50–950 ramp

primary
#C2A23F
secondary
#919FCC
accent
#6FDB4D
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C2A23F

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

Preview Lab → · Contrast checker → · Palette generator →

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