#C2AF43#C2AF43

#C2AF43 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 75.0% C 0.128 H 99.3°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#C2AF43
RGBrgb(194, 175, 67)
HSLhsl(51, 51%, 51%)
HSVhsv(51, 65%, 76%)
CMYKcmyk(0%, 9.8%, 65.5%, 23.9%)
CIE-LABlab(71.24, -5.78, 55.91)
CIE-LCHlch(71.24, 56.21, 95.90°)
OKLaboklab(75.01% -0.0206 0.1266)
OKLCHoklch(75.01% 0.128 99.3)
XYZxyz(38.5929, 42.5363, 11.4866)
Luminance0.4254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF43 #4356C2
analogous
#C26F43 #C2AF43 #95C243
triadic
#C2AF43 #43C2AF #AF43C2
tetradic
#C2AF43 #43C26F #4356C2 #C24395
square
#C2AF43 #43C26F #4356C2 #C24395
split-complementary
#C2AF43 #4395C2 #6F43C2
monochromatic
#695E22 #978831 #C2AF43 #D1C371 #E0D69F

Accessibility & contrast

On white

2.21
#C2AF43 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#C2AF43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AF43
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AF43#FFFFFF#000000##000000
##C2AF431.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA36
Deuteranopia (green-blind)
#C4B149
Tritanopia (blue-blind)
#D1A398
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c2af43;
/* rgb */ color: rgb(194, 175, 67);
/* oklch */ color: oklch(75.0% 0.128 99.3);
Tailwind
colors: {
  custom: {
    50: '#d8c67c',
    500: '#c2af43',
    950: '#000000',
  },
}
SCSS
$custom: #c2af43;
$custom-light: #d8c67c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af43",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 67
  },
  "hsl": {
    "h": 51.024,
    "s": 51.004,
    "l": 51.176
  },
  "oklch": {
    "l": 0.7501,
    "c": 0.12826,
    "h": 99.3
  },
  "luminance": 0.42535
}

Semantic roles & 50–950 ramp

primary
#C2AF43
secondary
#949DCC
accent
#62DA4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2AF43

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

Preview Lab → · Contrast checker → · Palette generator →

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