#C2B871#C2B871

#C2B871 is a light, moderate yellow. Relative luminance 0.469; OKLCH L 77.5% C 0.092 H 101.3°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#C2B871
RGBrgb(194, 184, 113)
HSLhsl(53, 40%, 60%)
HSVhsv(53, 42%, 76%)
CMYKcmyk(0%, 5.2%, 41.8%, 23.9%)
CIE-LABlab(74.15, -6.64, 37.29)
CIE-LCHlch(74.15, 37.87, 100.10°)
OKLaboklab(77.49% -0.0181 0.0907)
OKLCHoklch(77.49% 0.092 101.3)
XYZxyz(42.3701, 46.9438, 22.4487)
Luminance0.4694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B871 #717BC2
analogous
#C29071 #C2B871 #A3C271
triadic
#C2B871 #71C2B8 #B871C2
tetradic
#C2B871 #71C290 #717BC2 #C271A3
square
#C2B871 #71C290 #717BC2 #C271A3
split-complementary
#C2B871 #71A3C2 #9071C2
monochromatic
#817837 #ACA04A #C2B871 #D4CD9C #E7E3C7

Accessibility & contrast

On white

2.02
#C2B871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#C2B871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B871
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B871#FFFFFF#000000##000000
##C2B8711.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B46C
Deuteranopia (green-blind)
#C7B874
Tritanopia (blue-blind)
#CDAFA7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c2b871;
/* rgb */ color: rgb(194, 184, 113);
/* oklch */ color: oklch(77.5% 0.092 101.3);
Tailwind
colors: {
  custom: {
    50: '#d6cd9b',
    500: '#c2b871',
    950: '#000000',
  },
}
SCSS
$custom: #c2b871;
$custom-light: #d6cd9b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b871",
  "rgb": {
    "r": 194,
    "g": 184,
    "b": 113
  },
  "hsl": {
    "h": 52.593,
    "s": 39.901,
    "l": 60.196
  },
  "oklch": {
    "l": 0.77488,
    "c": 0.09247,
    "h": 101.3
  },
  "luminance": 0.46943
}

Semantic roles & 50–950 ramp

primary
#C2B871
secondary
#B8BCD7
accent
#42B333
background
#FDFCF9
surface
#FAF8F2
border
#D3D1CC
text
#14130E
muted
#83827E

Preview Lab

Preview with #C2B871

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

Preview Lab → · Contrast checker → · Palette generator →

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