#C2B554#C2B554

#C2B554 is a light, moderate yellow. Relative luminance 0.452; OKLCH L 76.5% C 0.119 H 101.7°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#C2B554
RGBrgb(194, 181, 84)
HSLhsl(53, 47%, 55%)
HSVhsv(53, 57%, 76%)
CMYKcmyk(0%, 6.7%, 56.7%, 23.9%)
CIE-LABlab(73.00, -7.75, 50.20)
CIE-LCHlch(73.00, 50.80, 98.77°)
OKLaboklab(76.46% -0.0243 0.1168)
OKLCHoklch(76.46% 0.119 101.7)
XYZxyz(40.3736, 45.1587, 14.9756)
Luminance0.4516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B554 #5461C2
analogous
#C27E54 #C2B554 #98C254
triadic
#C2B554 #54C2B5 #B554C2
tetradic
#C2B554 #54C27E #5461C2 #C25498
square
#C2B554 #54C27E #5461C2 #C25498
split-complementary
#C2B554 #5498C2 #7E54C2
monochromatic
#736A29 #A09439 #C2B554 #D2C981 #E2DCAE

Accessibility & contrast

On white

2.09
#C2B554 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#C2B554 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B554
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B554#FFFFFF#000000##000000
##C2B5541.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B04A
Deuteranopia (green-blind)
#C8B659
Tritanopia (blue-blind)
#CFAA9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c2b554;
/* rgb */ color: rgb(194, 181, 84);
/* oklch */ color: oklch(76.5% 0.119 101.7);
Tailwind
colors: {
  custom: {
    50: '#d7ca87',
    500: '#c2b554',
    950: '#000000',
  },
}
SCSS
$custom: #c2b554;
$custom-light: #d7ca87;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b554",
  "rgb": {
    "r": 194,
    "g": 181,
    "b": 84
  },
  "hsl": {
    "h": 52.909,
    "s": 47.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76455,
    "c": 0.11926,
    "h": 101.7
  },
  "luminance": 0.45157
}

Semantic roles & 50–950 ramp

primary
#C2B554
secondary
#A2A7D0
accent
#61D751
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2B554

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

Preview Lab → · Contrast checker → · Palette generator →

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