#C2B758#C2B758

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

Color values

HEX#C2B758
RGBrgb(194, 183, 88)
HSLhsl(54, 46%, 55%)
HSVhsv(54, 55%, 76%)
CMYKcmyk(0%, 5.7%, 54.6%, 23.9%)
CIE-LABlab(73.57, -8.47, 48.98)
CIE-LCHlch(73.57, 49.71, 99.81°)
OKLaboklab(76.93% -0.0259 0.1146)
OKLCHoklch(76.93% 0.117 102.7)
XYZxyz(40.9444, 46.0423, 15.9609)
Luminance0.4604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B758 #5863C2
analogous
#C28258 #C2B758 #98C258
triadic
#C2B758 #58C2B7 #B758C2
tetradic
#C2B758 #58C282 #5863C2 #C25898
square
#C2B758 #58C282 #5863C2 #C25898
split-complementary
#C2B758 #5898C2 #8258C2
monochromatic
#756D2B #A2973B #C2B758 #D2CA85 #E3DEB2

Accessibility & contrast

On white

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

On black

10.21
#C2B758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B758
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B758#FFFFFF#000000##000000
##C2B7581.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2b758;
/* rgb */ color: rgb(194, 183, 88);
/* oklch */ color: oklch(76.9% 0.117 102.7);
Tailwind
colors: {
  custom: {
    50: '#d7cc8a',
    500: '#c2b758',
    950: '#000000',
  },
}
SCSS
$custom: #c2b758;
$custom-light: #d7cc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b758",
  "rgb": {
    "r": 194,
    "g": 183,
    "b": 88
  },
  "hsl": {
    "h": 53.774,
    "s": 46.491,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76926,
    "c": 0.11746,
    "h": 102.7
  },
  "luminance": 0.46041
}

Semantic roles & 50–950 ramp

primary
#C2B758
secondary
#A5A9D1
accent
#5FD652
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C2B758

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

Preview Lab → · Contrast checker → · Palette generator →

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