#C2B259#C2B259

#C2B259 is a light, moderate yellow. Relative luminance 0.440; OKLCH L 75.9% C 0.112 H 99.3°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#C2B259
RGBrgb(194, 178, 89)
HSLhsl(51, 46%, 55%)
HSVhsv(51, 54%, 76%)
CMYKcmyk(0%, 8.2%, 54.1%, 23.9%)
CIE-LABlab(72.25, -5.78, 46.96)
CIE-LCHlch(72.25, 47.32, 97.02°)
OKLaboklab(75.88% -0.018 0.1103)
OKLCHoklch(75.88% 0.112 99.3)
XYZxyz(39.9731, 44.0329, 15.8429)
Luminance0.4403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B259 #5969C2
analogous
#C27D59 #C2B259 #9DC259
triadic
#C2B259 #59C2B2 #B259C2
tetradic
#C2B259 #59C27D #5969C2 #C2599D
square
#C2B259 #59C27D #5969C2 #C2599D
split-complementary
#C2B259 #599DC2 #7D59C2
monochromatic
#756A2B #A2933C #C2B259 #D2C786 #E3DCB3

Accessibility & contrast

On white

2.14
#C2B259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#C2B259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B259
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B259#FFFFFF#000000##000000
##C2B2591.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE51
Deuteranopia (green-blind)
#C5B45D
Tritanopia (blue-blind)
#CFA79E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c2b259;
/* rgb */ color: rgb(194, 178, 89);
/* oklch */ color: oklch(75.9% 0.112 99.3);
Tailwind
colors: {
  custom: {
    50: '#d7c88a',
    500: '#c2b259',
    950: '#000000',
  },
}
SCSS
$custom: #c2b259;
$custom-light: #d7c88a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b259",
  "rgb": {
    "r": 194,
    "g": 178,
    "b": 89
  },
  "hsl": {
    "h": 50.857,
    "s": 46.256,
    "l": 55.49
  },
  "oklch": {
    "l": 0.75881,
    "c": 0.11177,
    "h": 99.3
  },
  "luminance": 0.44031
}

Semantic roles & 50–950 ramp

primary
#C2B259
secondary
#A6ACD1
accent
#66D652
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C2B259

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

Preview Lab → · Contrast checker → · Palette generator →

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