#C2A83E#C2A83E

#C2A83E is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.5% C 0.127 H 95.2°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#C2A83E
RGBrgb(194, 168, 62)
HSLhsl(48, 52%, 50%)
HSVhsv(48, 68%, 76%)
CMYKcmyk(0%, 13.4%, 68%, 23.9%)
CIE-LABlab(69.34, -2.38, 56.05)
CIE-LCHlch(69.34, 56.10, 92.43°)
OKLaboklab(73.5% -0.0115 0.1261)
OKLCHoklch(73.5% 0.127 95.2)
XYZxyz(37.1221, 39.8243, 10.2880)
Luminance0.3982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A83E #3E58C2
analogous
#C2663E #C2A83E #9AC23E
triadic
#C2A83E #3EC2A8 #A83EC2
tetradic
#C2A83E #3EC266 #3E58C2 #C23E9A
square
#C2A83E #3EC266 #3E58C2 #C23E9A
split-complementary
#C2A83E #3E9AC2 #663EC2
monochromatic
#665820 #94802F #C2A83E #D1BD6D #DFD29B

Accessibility & contrast

On white

2.34
#C2A83E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#C2A83E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A83E
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A83E#FFFFFF#000000##000000
##C2A83E1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A530
Deuteranopia (green-blind)
#C0AD44
Tritanopia (blue-blind)
#D19B92
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c2a83e;
/* rgb */ color: rgb(194, 168, 62);
/* oklch */ color: oklch(73.5% 0.127 95.2);
Tailwind
colors: {
  custom: {
    50: '#d8c179',
    500: '#c2a83e',
    950: '#000000',
  },
}
SCSS
$custom: #c2a83e;
$custom-light: #d8c179;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a83e",
  "rgb": {
    "r": 194,
    "g": 168,
    "b": 62
  },
  "hsl": {
    "h": 48.182,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.73497,
    "c": 0.1266,
    "h": 95.2
  },
  "luminance": 0.39822
}

Semantic roles & 50–950 ramp

primary
#C2A83E
secondary
#909CCB
accent
#69DB4C
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C2A83E

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

Preview Lab → · Contrast checker → · Palette generator →

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