#C2AF34#C2AF34

#C2AF34 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.9% C 0.139 H 100.2°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#C2AF34
RGBrgb(194, 175, 52)
HSLhsl(52, 58%, 48%)
HSVhsv(52, 73%, 76%)
CMYKcmyk(0%, 9.8%, 73.2%, 23.9%)
CIE-LABlab(71.13, -6.58, 61.78)
CIE-LCHlch(71.13, 62.13, 96.08°)
OKLaboklab(74.89% -0.0245 0.1364)
OKLCHoklch(74.89% 0.139 100.2)
XYZxyz(38.1997, 42.3790, 9.4160)
Luminance0.4238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF34 #3447C2
analogous
#C26834 #C2AF34 #8EC234
triadic
#C2AF34 #34C2AF #AF34C2
tetradic
#C2AF34 #34C268 #3447C2 #C2348E
square
#C2AF34 #34C268 #3447C2 #C2348E
split-complementary
#C2AF34 #348EC2 #6834C2
monochromatic
#61581A #928327 #C2AF34 #D4C45F #E1D68F

Accessibility & contrast

On white

2.22
#C2AF34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#C2AF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AF34
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AF34#FFFFFF#000000##000000
##C2AF341.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA1F
Deuteranopia (green-blind)
#C5B13C
Tritanopia (blue-blind)
#D1A297
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c2af34;
/* rgb */ color: rgb(194, 175, 52);
/* oklch */ color: oklch(74.9% 0.139 100.2);
Tailwind
colors: {
  custom: {
    50: '#d8c674',
    500: '#c2af34',
    950: '#000000',
  },
}
SCSS
$custom: #c2af34;
$custom-light: #d8c674;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af34",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 51.972,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7489,
    "c": 0.1386,
    "h": 100.2
  },
  "luminance": 0.42377
}

Semantic roles & 50–950 ramp

primary
#C2AF34
secondary
#868FCC
accent
#5BE147
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2AF34

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

Preview Lab → · Contrast checker → · Palette generator →

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