#C2B564#C2B564

#C2B564 is a light, moderate yellow. Relative luminance 0.454; OKLCH L 76.7% C 0.104 H 100.3°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#C2B564
RGBrgb(194, 181, 100)
HSLhsl(52, 44%, 58%)
HSVhsv(52, 48%, 76%)
CMYKcmyk(0%, 6.7%, 48.5%, 23.9%)
CIE-LABlab(73.18, -6.38, 42.66)
CIE-LCHlch(73.18, 43.14, 98.50°)
OKLaboklab(76.66% -0.0186 0.1019)
OKLCHoklch(76.66% 0.104 100.3)
XYZxyz(41.0734, 45.4386, 18.6611)
Luminance0.4544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B564 #6471C2
analogous
#C28664 #C2B564 #A0C264
triadic
#C2B564 #64C2B5 #B564C2
tetradic
#C2B564 #64C286 #6471C2 #C264A0
square
#C2B564 #64C286 #6471C2 #C264A0
split-complementary
#C2B564 #64A0C2 #8664C2
monochromatic
#7B7130 #A79942 #C2B564 #D3CA90 #E5DFBC

Accessibility & contrast

On white

2.08
#C2B564 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#C2B564 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B564
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B564#FFFFFF#000000##000000
##C2B5641.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B15D
Deuteranopia (green-blind)
#C6B667
Tritanopia (blue-blind)
#CEABA2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c2b564;
/* rgb */ color: rgb(194, 181, 100);
/* oklch */ color: oklch(76.7% 0.104 100.3);
Tailwind
colors: {
  custom: {
    50: '#d6cb92',
    500: '#c2b564',
    950: '#000000',
  },
}
SCSS
$custom: #c2b564;
$custom-light: #d6cb92;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b564",
  "rgb": {
    "r": 194,
    "g": 181,
    "b": 100
  },
  "hsl": {
    "h": 51.702,
    "s": 43.519,
    "l": 57.647
  },
  "oklch": {
    "l": 0.76659,
    "c": 0.10355,
    "h": 100.3
  },
  "luminance": 0.45437
}

Semantic roles & 50–950 ramp

primary
#C2B564
secondary
#AEB3D4
accent
#66D355
background
#FDFCF9
surface
#FAF8F1
border
#D3D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #C2B564

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

Preview Lab → · Contrast checker → · Palette generator →

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