#C2B057#C2B057

#C2B057 is a light, moderate yellow. Relative luminance 0.432; OKLCH L 75.4% C 0.112 H 98.1°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#C2B057
RGBrgb(194, 176, 87)
HSLhsl(50, 47%, 55%)
HSVhsv(50, 55%, 76%)
CMYKcmyk(0%, 9.3%, 55.2%, 23.9%)
CIE-LABlab(71.70, -4.89, 47.28)
CIE-LCHlch(71.70, 47.53, 95.91°)
OKLaboklab(75.44% -0.0157 0.1108)
OKLCHoklch(75.44% 0.112 98.1)
XYZxyz(39.4952, 43.2097, 15.2749)
Luminance0.4321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B057 #5769C2
analogous
#C27B57 #C2B057 #9EC257
triadic
#C2B057 #57C2B0 #B057C2
tetradic
#C2B057 #57C27B #5769C2 #C2579E
square
#C2B057 #57C27B #5769C2 #C2579E
split-complementary
#C2B057 #579EC2 #7B57C2
monochromatic
#74682A #A1903B #C2B057 #D2C584 #E3DAB1

Accessibility & contrast

On white

2.18
#C2B057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#C2B057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B057
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B057#FFFFFF#000000##000000
##C2B0571.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC4F
Deuteranopia (green-blind)
#C4B25B
Tritanopia (blue-blind)
#CFA59C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c2b057;
/* rgb */ color: rgb(194, 176, 87);
/* oklch */ color: oklch(75.4% 0.112 98.1);
Tailwind
colors: {
  custom: {
    50: '#d7c789',
    500: '#c2b057',
    950: '#000000',
  },
}
SCSS
$custom: #c2b057;
$custom-light: #d7c789;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b057",
  "rgb": {
    "r": 194,
    "g": 176,
    "b": 87
  },
  "hsl": {
    "h": 49.907,
    "s": 46.725,
    "l": 55.098
  },
  "oklch": {
    "l": 0.75435,
    "c": 0.11189,
    "h": 98.1
  },
  "luminance": 0.43208
}

Semantic roles & 50–950 ramp

primary
#C2B057
secondary
#A4ACD1
accent
#68D651
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C2B057

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

Preview Lab → · Contrast checker → · Palette generator →

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