#C2B64A#C2B64A

#C2B64A is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.6% C 0.129 H 103.0°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#C2B64A
RGBrgb(194, 182, 74)
HSLhsl(54, 50%, 53%)
HSVhsv(54, 62%, 76%)
CMYKcmyk(0%, 6.2%, 61.9%, 23.9%)
CIE-LABlab(73.17, -8.99, 54.94)
CIE-LCHlch(73.17, 55.67, 99.29°)
OKLaboklab(76.56% -0.029 0.1256)
OKLCHoklch(76.56% 0.129 103)
XYZxyz(40.2136, 45.4212, 13.1261)
Luminance0.4542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B64A #4A56C2
analogous
#C27A4A #C2B64A #92C24A
triadic
#C2B64A #4AC2B6 #B64AC2
tetradic
#C2B64A #4AC27A #4A56C2 #C24A92
square
#C2B64A #4AC27A #4A56C2 #C24A92
split-complementary
#C2B64A #4A92C2 #7A4AC2
monochromatic
#6D6625 #9B9034 #C2B64A #D1C878 #E1DBA6

Accessibility & contrast

On white

2.08
#C2B64A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#C2B64A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B64A
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B64A#FFFFFF#000000##000000
##C2B64A1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B03E
Deuteranopia (green-blind)
#C9B650
Tritanopia (blue-blind)
#D0AA9F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c2b64a;
/* rgb */ color: rgb(194, 182, 74);
/* oklch */ color: oklch(76.6% 0.129 103.0);
Tailwind
colors: {
  custom: {
    50: '#d7cb81',
    500: '#c2b64a',
    950: '#000000',
  },
}
SCSS
$custom: #c2b64a;
$custom-light: #d7cb81;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b64a",
  "rgb": {
    "r": 194,
    "g": 182,
    "b": 74
  },
  "hsl": {
    "h": 54,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.76561,
    "c": 0.12888,
    "h": 103
  },
  "luminance": 0.4542
}

Semantic roles & 50–950 ramp

primary
#C2B64A
secondary
#9A9FCE
accent
#5DD94F
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2B64A

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

Preview Lab → · Contrast checker → · Palette generator →

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