#C2A745#C2A745

#C2A745 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.4% C 0.121 H 93.8°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#C2A745
RGBrgb(194, 167, 69)
HSLhsl(47, 51%, 52%)
HSVhsv(47, 64%, 76%)
CMYKcmyk(0%, 13.9%, 64.4%, 23.9%)
CIE-LABlab(69.14, -1.43, 52.79)
CIE-LCHlch(69.14, 52.81, 91.55°)
OKLaboklab(73.35% -0.0079 0.1203)
OKLCHoklch(73.35% 0.121 93.8)
XYZxyz(37.1428, 39.5384, 11.3043)
Luminance0.3954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A745 #4560C2
analogous
#C26945 #C2A745 #9FC245
triadic
#C2A745 #45C2A7 #A745C2
tetradic
#C2A745 #45C269 #4560C2 #C2459F
square
#C2A745 #45C269 #4560C2 #C2459F
split-complementary
#C2A745 #459FC2 #6945C2
monochromatic
#6A5B23 #988232 #C2A745 #D1BD73 #E0D3A1

Accessibility & contrast

On white

2.36
#C2A745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#C2A745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A745
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A745#FFFFFF#000000##000000
##C2A7451.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2a745;
/* rgb */ color: rgb(194, 167, 69);
/* oklch */ color: oklch(73.4% 0.121 93.8);
Tailwind
colors: {
  custom: {
    50: '#d8c07d',
    500: '#c2a745',
    950: '#000000',
  },
}
SCSS
$custom: #c2a745;
$custom-light: #d8c07d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a745",
  "rgb": {
    "r": 194,
    "g": 167,
    "b": 69
  },
  "hsl": {
    "h": 47.04,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73354,
    "c": 0.12055,
    "h": 93.8
  },
  "luminance": 0.39536
}

Semantic roles & 50–950 ramp

primary
#C2A745
secondary
#96A2CD
accent
#6CDA4E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C2A745

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

Preview Lab → · Contrast checker → · Palette generator →

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