#C2B154#C2B154

#C2B154 is a light, moderate yellow. Relative luminance 0.436; OKLCH L 75.6% C 0.116 H 99.1°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#C2B154
RGBrgb(194, 177, 84)
HSLhsl(51, 47%, 55%)
HSVhsv(51, 57%, 76%)
CMYKcmyk(0%, 8.8%, 56.7%, 23.9%)
CIE-LABlab(71.93, -5.66, 48.98)
CIE-LCHlch(71.93, 49.31, 96.59°)
OKLaboklab(75.61% -0.0183 0.1141)
OKLCHoklch(75.61% 0.116 99.1)
XYZxyz(39.5719, 43.5553, 14.7084)
Luminance0.4355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B154 #5465C2
analogous
#C27A54 #C2B154 #9CC254
triadic
#C2B154 #54C2B1 #B154C2
tetradic
#C2B154 #54C27A #5465C2 #C2549C
square
#C2B154 #54C27A #5465C2 #C2549C
split-complementary
#C2B154 #549CC2 #7A54C2
monochromatic
#736729 #A09039 #C2B154 #D2C681 #E2DAAE

Accessibility & contrast

On white

2.16
#C2B154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#C2B154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B154
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B154#FFFFFF#000000##000000
##C2B1541.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD4B
Deuteranopia (green-blind)
#C5B358
Tritanopia (blue-blind)
#D0A69C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c2b154;
/* rgb */ color: rgb(194, 177, 84);
/* oklch */ color: oklch(75.6% 0.116 99.1);
Tailwind
colors: {
  custom: {
    50: '#d7c887',
    500: '#c2b154',
    950: '#000000',
  },
}
SCSS
$custom: #c2b154;
$custom-light: #d7c887;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b154",
  "rgb": {
    "r": 194,
    "g": 177,
    "b": 84
  },
  "hsl": {
    "h": 50.727,
    "s": 47.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.75609,
    "c": 0.11558,
    "h": 99.1
  },
  "luminance": 0.43554
}

Semantic roles & 50–950 ramp

primary
#C2B154
secondary
#A2A9D0
accent
#66D751
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2B154

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

Preview Lab → · Contrast checker → · Palette generator →

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