#C2B157#C2B157

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

Color values

HEX#C2B157
RGBrgb(194, 177, 87)
HSLhsl(50, 47%, 55%)
HSVhsv(50, 55%, 76%)
CMYKcmyk(0%, 8.8%, 55.2%, 23.9%)
CIE-LABlab(71.96, -5.42, 47.59)
CIE-LCHlch(71.96, 47.90, 96.50°)
OKLaboklab(75.65% -0.0172 0.1115)
OKLCHoklch(75.65% 0.113 98.8)
XYZxyz(39.6920, 43.6033, 15.3405)
Luminance0.4360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B157 #5768C2
analogous
#C27B57 #C2B157 #9EC257
triadic
#C2B157 #57C2B1 #B157C2
tetradic
#C2B157 #57C27B #5768C2 #C2579E
square
#C2B157 #57C27B #5768C2 #C2579E
split-complementary
#C2B157 #579EC2 #7B57C2
monochromatic
#74692A #A1913B #C2B157 #D2C684 #E3DBB1

Accessibility & contrast

On white

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

On black

9.72
#C2B157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B157
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B157#FFFFFF#000000##000000
##C2B1571.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD4E
Deuteranopia (green-blind)
#C4B35B
Tritanopia (blue-blind)
#CFA69D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c2b157;
/* rgb */ color: rgb(194, 177, 87);
/* oklch */ color: oklch(75.6% 0.113 98.8);
Tailwind
colors: {
  custom: {
    50: '#d7c889',
    500: '#c2b157',
    950: '#000000',
  },
}
SCSS
$custom: #c2b157;
$custom-light: #d7c889;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b157",
  "rgb": {
    "r": 194,
    "g": 177,
    "b": 87
  },
  "hsl": {
    "h": 50.467,
    "s": 46.725,
    "l": 55.098
  },
  "oklch": {
    "l": 0.75645,
    "c": 0.11278,
    "h": 98.8
  },
  "luminance": 0.43602
}

Semantic roles & 50–950 ramp

primary
#C2B157
secondary
#A4ABD1
accent
#67D651
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C2B157

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

Preview Lab → · Contrast checker → · Palette generator →

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