#C2B757#C2B757

#C2B757 is a light, moderate yellow. Relative luminance 0.460; OKLCH L 76.9% C 0.118 H 102.8°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#C2B757
RGBrgb(194, 183, 87)
HSLhsl(54, 47%, 55%)
HSVhsv(54, 55%, 76%)
CMYKcmyk(0%, 5.7%, 55.2%, 23.9%)
CIE-LABlab(73.56, -8.55, 49.44)
CIE-LCHlch(73.56, 50.18, 99.81°)
OKLaboklab(76.91% -0.0262 0.1155)
OKLCHoklch(76.91% 0.118 102.8)
XYZxyz(40.9032, 46.0259, 15.7442)
Luminance0.4602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B757 #5762C2
analogous
#C28257 #C2B757 #97C257
triadic
#C2B757 #57C2B7 #B757C2
tetradic
#C2B757 #57C282 #5762C2 #C25797
square
#C2B757 #57C282 #5762C2 #C25797
split-complementary
#C2B757 #5797C2 #8257C2
monochromatic
#746D2A #A1973B #C2B757 #D2CA84 #E3DDB1

Accessibility & contrast

On white

2.06
#C2B757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#C2B757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B757
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B757#FFFFFF#000000##000000
##C2B7571.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B24E
Deuteranopia (green-blind)
#C9B75C
Tritanopia (blue-blind)
#CFACA2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c2b757;
/* rgb */ color: rgb(194, 183, 87);
/* oklch */ color: oklch(76.9% 0.118 102.8);
Tailwind
colors: {
  custom: {
    50: '#d7cc89',
    500: '#c2b757',
    950: '#000000',
  },
}
SCSS
$custom: #c2b757;
$custom-light: #d7cc89;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b757",
  "rgb": {
    "r": 194,
    "g": 183,
    "b": 87
  },
  "hsl": {
    "h": 53.832,
    "s": 46.725,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76914,
    "c": 0.1184,
    "h": 102.8
  },
  "luminance": 0.46024
}

Semantic roles & 50–950 ramp

primary
#C2B757
secondary
#A4A9D1
accent
#5FD651
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C2B757

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

Preview Lab → · Contrast checker → · Palette generator →

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