#C2B458#C2B458

#C2B458 is a light, moderate yellow. Relative luminance 0.448; OKLCH L 76.3% C 0.115 H 100.8°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#C2B458
RGBrgb(194, 180, 88)
HSLhsl(52, 46%, 55%)
HSVhsv(52, 55%, 76%)
CMYKcmyk(0%, 7.2%, 54.6%, 23.9%)
CIE-LABlab(72.77, -6.91, 48.05)
CIE-LCHlch(72.77, 48.55, 98.18°)
OKLaboklab(76.29% -0.0214 0.1126)
OKLCHoklch(76.29% 0.115 100.8)
XYZxyz(40.3322, 44.8179, 15.7568)
Luminance0.4482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B458 #5866C2
analogous
#C27F58 #C2B458 #9BC258
triadic
#C2B458 #58C2B4 #B458C2
tetradic
#C2B458 #58C27F #5866C2 #C2589B
square
#C2B458 #58C27F #5866C2 #C2589B
split-complementary
#C2B458 #589BC2 #7F58C2
monochromatic
#756B2B #A2943B #C2B458 #D2C885 #E3DCB2

Accessibility & contrast

On white

2.11
#C2B458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#C2B458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B458
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B458#FFFFFF#000000##000000
##C2B4581.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF4F
Deuteranopia (green-blind)
#C7B55C
Tritanopia (blue-blind)
#CFA99F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c2b458;
/* rgb */ color: rgb(194, 180, 88);
/* oklch */ color: oklch(76.3% 0.115 100.8);
Tailwind
colors: {
  custom: {
    50: '#d7ca8a',
    500: '#c2b458',
    950: '#000000',
  },
}
SCSS
$custom: #c2b458;
$custom-light: #d7ca8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b458",
  "rgb": {
    "r": 194,
    "g": 180,
    "b": 88
  },
  "hsl": {
    "h": 52.075,
    "s": 46.491,
    "l": 55.294
  },
  "oklch": {
    "l": 0.7629,
    "c": 0.11458,
    "h": 100.8
  },
  "luminance": 0.44816
}

Semantic roles & 50–950 ramp

primary
#C2B458
secondary
#A5ABD1
accent
#63D652
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C2B458

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

Preview Lab → · Contrast checker → · Palette generator →

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