#C2A74B#C2A74B

#C2A74B is a light, moderate yellow. Relative luminance 0.396; OKLCH L 73.4% C 0.116 H 93.0°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#C2A74B
RGBrgb(194, 167, 75)
HSLhsl(46, 49%, 53%)
HSVhsv(46, 61%, 76%)
CMYKcmyk(0%, 13.9%, 61.3%, 23.9%)
CIE-LABlab(69.20, -1.03, 50.11)
CIE-LCHlch(69.20, 50.13, 91.18°)
OKLaboklab(73.42% -0.006 0.1154)
OKLCHoklch(73.42% 0.116 93)
XYZxyz(37.3385, 39.6167, 12.3353)
Luminance0.3962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A74B #4B66C2
analogous
#C26C4B #C2A74B #A1C24B
triadic
#C2A74B #4BC2A7 #A74BC2
tetradic
#C2A74B #4BC26C #4B66C2 #C24BA1
square
#C2A74B #4BC26C #4B66C2 #C24BA1
split-complementary
#C2A74B #4BA1C2 #6C4BC2
monochromatic
#6D5D25 #9B8435 #C2A74B #D1BD79 #E1D4A6

Accessibility & contrast

On white

2.35
#C2A74B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#C2A74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A74B
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A74B#FFFFFF#000000##000000
##C2A74B1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A441
Deuteranopia (green-blind)
#BEAC4F
Tritanopia (blue-blind)
#D19B93
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c2a74b;
/* rgb */ color: rgb(194, 167, 75);
/* oklch */ color: oklch(73.4% 0.116 93.0);
Tailwind
colors: {
  custom: {
    50: '#d7c081',
    500: '#c2a74b',
    950: '#000000',
  },
}
SCSS
$custom: #c2a74b;
$custom-light: #d7c081;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a74b",
  "rgb": {
    "r": 194,
    "g": 167,
    "b": 75
  },
  "hsl": {
    "h": 46.387,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.73416,
    "c": 0.1156,
    "h": 93
  },
  "luminance": 0.39615
}

Semantic roles & 50–950 ramp

primary
#C2A74B
secondary
#9BA6CE
accent
#6ED94F
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120A
muted
#83817C

Preview Lab

Preview with #C2A74B

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

Preview Lab → · Contrast checker → · Palette generator →

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