#C2B558#C2B558

#C2B558 is a light, moderate yellow. Relative luminance 0.452; OKLCH L 76.5% C 0.116 H 101.4°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#C2B558
RGBrgb(194, 181, 88)
HSLhsl(53, 46%, 55%)
HSVhsv(53, 55%, 76%)
CMYKcmyk(0%, 6.7%, 54.6%, 23.9%)
CIE-LABlab(73.04, -7.43, 48.36)
CIE-LCHlch(73.04, 48.93, 98.73°)
OKLaboklab(76.5% -0.0229 0.1132)
OKLCHoklch(76.5% 0.116 101.4)
XYZxyz(40.5348, 45.2231, 15.8244)
Luminance0.4522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B558 #5865C2
analogous
#C28058 #C2B558 #9AC258
triadic
#C2B558 #58C2B5 #B558C2
tetradic
#C2B558 #58C280 #5865C2 #C2589A
square
#C2B558 #58C280 #5865C2 #C2589A
split-complementary
#C2B558 #589AC2 #8058C2
monochromatic
#756C2B #A2953B #C2B558 #D2C985 #E3DDB2

Accessibility & contrast

On white

2.09
#C2B558 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#C2B558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B558
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B558#FFFFFF#000000##000000
##C2B5581.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B04F
Deuteranopia (green-blind)
#C7B65C
Tritanopia (blue-blind)
#CFAAA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c2b558;
/* rgb */ color: rgb(194, 181, 88);
/* oklch */ color: oklch(76.5% 0.116 101.4);
Tailwind
colors: {
  custom: {
    50: '#d7ca8a',
    500: '#c2b558',
    950: '#000000',
  },
}
SCSS
$custom: #c2b558;
$custom-light: #d7ca8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b558",
  "rgb": {
    "r": 194,
    "g": 181,
    "b": 88
  },
  "hsl": {
    "h": 52.642,
    "s": 46.491,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76502,
    "c": 0.11552,
    "h": 101.4
  },
  "luminance": 0.45222
}

Semantic roles & 50–950 ramp

primary
#C2B558
secondary
#A5AAD1
accent
#62D652
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C2B558

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

Preview Lab → · Contrast checker → · Palette generator →

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