#C2A63E#C2A63E

#C2A63E is a light, vivid yellow. Relative luminance 0.391; OKLCH L 73.1% C 0.125 H 93.9°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#C2A63E
RGBrgb(194, 166, 62)
HSLhsl(47, 52%, 50%)
HSVhsv(47, 68%, 76%)
CMYKcmyk(0%, 14.4%, 68%, 23.9%)
CIE-LABlab(68.82, -1.32, 55.51)
CIE-LCHlch(68.82, 55.52, 91.36°)
OKLaboklab(73.08% -0.0084 0.1249)
OKLCHoklch(73.08% 0.125 93.9)
XYZxyz(36.7557, 39.0916, 10.1659)
Luminance0.3909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A63E #3E5AC2
analogous
#C2643E #C2A63E #9CC23E
triadic
#C2A63E #3EC2A6 #A63EC2
tetradic
#C2A63E #3EC264 #3E5AC2 #C23E9C
square
#C2A63E #3EC264 #3E5AC2 #C23E9C
split-complementary
#C2A63E #3E9CC2 #643EC2
monochromatic
#665720 #947F2F #C2A63E #D1BB6D #DFD19B

Accessibility & contrast

On white

2.38
#C2A63E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#C2A63E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A63E
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A63E#FFFFFF#000000##000000
##C2A63E1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A331
Deuteranopia (green-blind)
#BEAB43
Tritanopia (blue-blind)
#D19990
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c2a63e;
/* rgb */ color: rgb(194, 166, 62);
/* oklch */ color: oklch(73.1% 0.125 93.9);
Tailwind
colors: {
  custom: {
    50: '#d8c079',
    500: '#c2a63e',
    950: '#000000',
  },
}
SCSS
$custom: #c2a63e;
$custom-light: #d8c079;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a63e",
  "rgb": {
    "r": 194,
    "g": 166,
    "b": 62
  },
  "hsl": {
    "h": 47.273,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.7308,
    "c": 0.1252,
    "h": 93.9
  },
  "luminance": 0.3909
}

Semantic roles & 50–950 ramp

primary
#C2A63E
secondary
#909DCB
accent
#6BDB4C
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C2A63E

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

Preview Lab → · Contrast checker → · Palette generator →

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