#C2B04A#C2B04A

#C2B04A is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.3% C 0.124 H 99.3°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#C2B04A
RGBrgb(194, 176, 74)
HSLhsl(51, 50%, 53%)
HSVhsv(51, 62%, 76%)
CMYKcmyk(0%, 9.3%, 61.9%, 23.9%)
CIE-LABlab(71.57, -5.86, 53.19)
CIE-LCHlch(71.57, 53.51, 96.28°)
OKLaboklab(75.29% -0.02 0.1219)
OKLCHoklch(75.29% 0.124 99.3)
XYZxyz(39.0111, 43.0161, 12.7253)
Luminance0.4301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B04A #4A5CC2
analogous
#C2744A #C2B04A #98C24A
triadic
#C2B04A #4AC2B0 #B04AC2
tetradic
#C2B04A #4AC274 #4A5CC2 #C24A98
square
#C2B04A #4AC274 #4A5CC2 #C24A98
split-complementary
#C2B04A #4A98C2 #744AC2
monochromatic
#6D6225 #9B8B34 #C2B04A #D1C478 #E1D8A6

Accessibility & contrast

On white

2.19
#C2B04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#C2B04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B04A
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B04A#FFFFFF#000000##000000
##C2B04A1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC3F
Deuteranopia (green-blind)
#C5B24F
Tritanopia (blue-blind)
#D0A49A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c2b04a;
/* rgb */ color: rgb(194, 176, 74);
/* oklch */ color: oklch(75.3% 0.124 99.3);
Tailwind
colors: {
  custom: {
    50: '#d7c781',
    500: '#c2b04a',
    950: '#000000',
  },
}
SCSS
$custom: #c2b04a;
$custom-light: #d7c781;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b04a",
  "rgb": {
    "r": 194,
    "g": 176,
    "b": 74
  },
  "hsl": {
    "h": 51,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75289,
    "c": 0.12351,
    "h": 99.3
  },
  "luminance": 0.43014
}

Semantic roles & 50–950 ramp

primary
#C2B04A
secondary
#9AA2CE
accent
#63D94F
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B04A

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

Preview Lab → · Contrast checker → · Palette generator →

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