#C2B457#C2B457

#C2B457 is a light, moderate yellow. Relative luminance 0.448; OKLCH L 76.3% C 0.116 H 100.9°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#C2B457
RGBrgb(194, 180, 87)
HSLhsl(52, 47%, 55%)
HSVhsv(52, 55%, 76%)
CMYKcmyk(0%, 7.2%, 55.2%, 23.9%)
CIE-LABlab(72.76, -6.99, 48.52)
CIE-LCHlch(72.76, 49.02, 98.20°)
OKLaboklab(76.28% -0.0218 0.1135)
OKLCHoklch(76.28% 0.116 100.9)
XYZxyz(40.2910, 44.8015, 15.5402)
Luminance0.4480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B457 #5765C2
analogous
#C27F57 #C2B457 #9AC257
triadic
#C2B457 #57C2B4 #B457C2
tetradic
#C2B457 #57C27F #5765C2 #C2579A
square
#C2B457 #57C27F #5765C2 #C2579A
split-complementary
#C2B457 #579AC2 #7F57C2
monochromatic
#746B2A #A1943B #C2B457 #D2C884 #E3DCB1

Accessibility & contrast

On white

2.11
#C2B457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#C2B457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B457
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B457#FFFFFF#000000##000000
##C2B4571.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF4E
Deuteranopia (green-blind)
#C7B55B
Tritanopia (blue-blind)
#CFA99F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c2b457;
/* rgb */ color: rgb(194, 180, 87);
/* oklch */ color: oklch(76.3% 0.116 100.9);
Tailwind
colors: {
  custom: {
    50: '#d7ca89',
    500: '#c2b457',
    950: '#000000',
  },
}
SCSS
$custom: #c2b457;
$custom-light: #d7ca89;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b457",
  "rgb": {
    "r": 194,
    "g": 180,
    "b": 87
  },
  "hsl": {
    "h": 52.15,
    "s": 46.725,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76278,
    "c": 0.11553,
    "h": 100.9
  },
  "luminance": 0.448
}

Semantic roles & 50–950 ramp

primary
#C2B457
secondary
#A4AAD1
accent
#63D651
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C2B457

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

Preview Lab → · Contrast checker → · Palette generator →

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