#C2AF2B#C2AF2B

#C2AF2B is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.8% C 0.144 H 100.6°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#C2AF2B
RGBrgb(194, 175, 43)
HSLhsl(52, 64%, 46%)
HSVhsv(52, 78%, 76%)
CMYKcmyk(0%, 9.8%, 77.8%, 23.9%)
CIE-LABlab(71.08, -6.96, 64.84)
CIE-LCHlch(71.08, 65.21, 96.12°)
OKLaboklab(74.83% -0.0265 0.1412)
OKLCHoklch(74.83% 0.144 100.6)
XYZxyz(38.0160, 42.3055, 8.4484)
Luminance0.4230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF2B #2B3EC2
analogous
#C2642B #C2AF2B #8AC22B
triadic
#C2AF2B #2BC2AF #AF2BC2
tetradic
#C2AF2B #2BC264 #2B3EC2 #C22B8A
square
#C2AF2B #2BC264 #2B3EC2 #C22B8A
split-complementary
#C2AF2B #2B8AC2 #642BC2
monochromatic
#5E5515 #908220 #C2AF2B #D9C852 #E4D884

Accessibility & contrast

On white

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

On black

9.46
#C2AF2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AF2B
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AF2B#FFFFFF#000000##000000
##C2AF2B1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA09
Deuteranopia (green-blind)
#C6B135
Tritanopia (blue-blind)
#D1A296
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c2af2b;
/* rgb */ color: rgb(194, 175, 43);
/* oklch */ color: oklch(74.8% 0.144 100.6);
Tailwind
colors: {
  custom: {
    50: '#d9c670',
    500: '#c2af2b',
    950: '#000000',
  },
}
SCSS
$custom: #c2af2b;
$custom-light: #d9c670;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af2b",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 43
  },
  "hsl": {
    "h": 52.45,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74834,
    "c": 0.14363,
    "h": 100.6
  },
  "luminance": 0.42304
}

Semantic roles & 50–950 ramp

primary
#C2AF2B
secondary
#7C86CD
accent
#56E741
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2AF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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