#C2B45A#C2B45A

#C2B45A is a light, moderate yellow. Relative luminance 0.449; OKLCH L 76.3% C 0.113 H 100.6°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#C2B45A
RGBrgb(194, 180, 90)
HSLhsl(52, 46%, 56%)
HSVhsv(52, 54%, 76%)
CMYKcmyk(0%, 7.2%, 53.6%, 23.9%)
CIE-LABlab(72.79, -6.74, 47.12)
CIE-LCHlch(72.79, 47.60, 98.14°)
OKLaboklab(76.32% -0.0207 0.1107)
OKLCHoklch(76.32% 0.113 100.6)
XYZxyz(40.4162, 44.8515, 16.1992)
Luminance0.4485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B45A #5A68C2
analogous
#C2805A #C2B45A #9CC25A
triadic
#C2B45A #5AC2B4 #B45AC2
tetradic
#C2B45A #5AC280 #5A68C2 #C25A9C
square
#C2B45A #5AC280 #5A68C2 #C25A9C
split-complementary
#C2B45A #5A9CC2 #805AC2
monochromatic
#766C2C #A3953C #C2B45A #D3C887 #E3DDB3

Accessibility & contrast

On white

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

On black

9.97
#C2B45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B45A
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B45A#FFFFFF#000000##000000
##C2B45A1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF52
Deuteranopia (green-blind)
#C6B55E
Tritanopia (blue-blind)
#CFA9A0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c2b45a;
/* rgb */ color: rgb(194, 180, 90);
/* oklch */ color: oklch(76.3% 0.113 100.6);
Tailwind
colors: {
  custom: {
    50: '#d7ca8b',
    500: '#c2b45a',
    950: '#000000',
  },
}
SCSS
$custom: #c2b45a;
$custom-light: #d7ca8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b45a",
  "rgb": {
    "r": 194,
    "g": 180,
    "b": 90
  },
  "hsl": {
    "h": 51.923,
    "s": 46.018,
    "l": 55.686
  },
  "oklch": {
    "l": 0.76315,
    "c": 0.11266,
    "h": 100.6
  },
  "luminance": 0.4485
}

Semantic roles & 50–950 ramp

primary
#C2B45A
secondary
#A6ACD2
accent
#64D652
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C2B45A

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

Preview Lab → · Contrast checker → · Palette generator →

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