#C2A23E#C2A23E

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

Color values

HEX#C2A23E
RGBrgb(194, 162, 62)
HSLhsl(45, 52%, 50%)
HSVhsv(45, 68%, 76%)
CMYKcmyk(0%, 16.5%, 68%, 23.9%)
CIE-LABlab(67.77, 0.82, 54.41)
CIE-LCHlch(67.77, 54.42, 89.13°)
OKLaboklab(72.25% -0.0023 0.1226)
OKLCHoklch(72.25% 0.123 91.1)
XYZxyz(36.0398, 37.6599, 9.9273)
Luminance0.3766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A23E #3E5EC2
analogous
#C2603E #C2A23E #A0C23E
triadic
#C2A23E #3EC2A2 #A23EC2
tetradic
#C2A23E #3EC260 #3E5EC2 #C23EA0
square
#C2A23E #3EC260 #3E5EC2 #C23EA0
split-complementary
#C2A23E #3EA0C2 #603EC2
monochromatic
#665520 #947B2F #C2A23E #D1B86D #DFCF9B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2A23E#FFFFFF#000000##000000
##C2A23E1.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)
#B3A031
Deuteranopia (green-blind)
#BBA943
Tritanopia (blue-blind)
#D1958D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c2a23e;
/* rgb */ color: rgb(194, 162, 62);
/* oklch */ color: oklch(72.3% 0.123 91.1);
Tailwind
colors: {
  custom: {
    50: '#d8bd78',
    500: '#c2a23e',
    950: '#000000',
  },
}
SCSS
$custom: #c2a23e;
$custom-light: #d8bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a23e",
  "rgb": {
    "r": 194,
    "g": 162,
    "b": 62
  },
  "hsl": {
    "h": 45.455,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.72253,
    "c": 0.12263,
    "h": 91.1
  },
  "luminance": 0.37658
}

Semantic roles & 50–950 ramp

primary
#C2A23E
secondary
#909FCB
accent
#6FDB4C
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C2A23E

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

Preview Lab → · Contrast checker → · Palette generator →

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