#C2AF3B#C2AF3B

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

Color values

HEX#C2AF3B
RGBrgb(194, 175, 59)
HSLhsl(52, 53%, 50%)
HSVhsv(52, 70%, 76%)
CMYKcmyk(0%, 9.8%, 69.6%, 23.9%)
CIE-LABlab(71.18, -6.23, 59.15)
CIE-LCHlch(71.18, 59.48, 96.02°)
OKLaboklab(74.94% -0.0228 0.1321)
OKLCHoklch(74.94% 0.134 99.8)
XYZxyz(38.3693, 42.4468, 10.3088)
Luminance0.4244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF3B #3B4EC2
analogous
#C26C3B #C2AF3B #91C23B
triadic
#C2AF3B #3BC2AF #AF3BC2
tetradic
#C2AF3B #3BC26C #3B4EC2 #C23B91
square
#C2AF3B #3BC26C #3B4EC2 #C23B91
split-complementary
#C2AF3B #3B91C2 #6C3BC2
monochromatic
#645A1E #93852D #C2AF3B #D1C369 #E0D698

Accessibility & contrast

On white

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

On black

9.49
#C2AF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AF3B
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AF3B#FFFFFF#000000##000000
##C2AF3B1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA2A
Deuteranopia (green-blind)
#C5B142
Tritanopia (blue-blind)
#D1A298
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c2af3b;
/* rgb */ color: rgb(194, 175, 59);
/* oklch */ color: oklch(74.9% 0.134 99.8);
Tailwind
colors: {
  custom: {
    50: '#d8c678',
    500: '#c2af3b',
    950: '#000000',
  },
}
SCSS
$custom: #c2af3b;
$custom-light: #d8c678;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af3b",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 59
  },
  "hsl": {
    "h": 51.556,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74942,
    "c": 0.13407,
    "h": 99.8
  },
  "luminance": 0.42445
}

Semantic roles & 50–950 ramp

primary
#C2AF3B
secondary
#8E96CB
accent
#60DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C2AF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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