#C2B84A#C2B84A

#C2B84A is a light, vivid yellow. Relative luminance 0.462; OKLCH L 77.0% C 0.131 H 104.1°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#C2B84A
RGBrgb(194, 184, 74)
HSLhsl(55, 50%, 53%)
HSVhsv(55, 62%, 76%)
CMYKcmyk(0%, 5.2%, 61.9%, 23.9%)
CIE-LABlab(73.70, -10.02, 55.52)
CIE-LCHlch(73.70, 56.42, 100.23°)
OKLaboklab(76.99% -0.0319 0.1268)
OKLCHoklch(76.99% 0.131 104.1)
XYZxyz(40.6261, 46.2462, 13.2636)
Luminance0.4625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B84A #4A54C2
analogous
#C27C4A #C2B84A #90C24A
triadic
#C2B84A #4AC2B8 #B84AC2
tetradic
#C2B84A #4AC27C #4A54C2 #C24A90
square
#C2B84A #4AC27C #4A54C2 #C24A90
split-complementary
#C2B84A #4A90C2 #7C4AC2
monochromatic
#6D6725 #9B9234 #C2B84A #D1CA78 #E1DCA6

Accessibility & contrast

On white

2.05
#C2B84A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#C2B84A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B84A
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B84A#FFFFFF#000000##000000
##C2B84A1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B23D
Deuteranopia (green-blind)
#CBB850
Tritanopia (blue-blind)
#D0ACA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c2b84a;
/* rgb */ color: rgb(194, 184, 74);
/* oklch */ color: oklch(77.0% 0.131 104.1);
Tailwind
colors: {
  custom: {
    50: '#d7cd81',
    500: '#c2b84a',
    950: '#000000',
  },
}
SCSS
$custom: #c2b84a;
$custom-light: #d7cd81;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b84a",
  "rgb": {
    "r": 194,
    "g": 184,
    "b": 74
  },
  "hsl": {
    "h": 55,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.76987,
    "c": 0.13076,
    "h": 104.1
  },
  "luminance": 0.46245
}

Semantic roles & 50–950 ramp

primary
#C2B84A
secondary
#9A9ECE
accent
#5AD94F
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2B84A

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

Preview Lab → · Contrast checker → · Palette generator →

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