#C2B245#C2B245

#C2B245 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.7% C 0.129 H 100.9°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#C2B245
RGBrgb(194, 178, 69)
HSLhsl(52, 51%, 52%)
HSVhsv(52, 64%, 76%)
CMYKcmyk(0%, 8.2%, 64.4%, 23.9%)
CIE-LABlab(72.06, -7.23, 55.92)
CIE-LCHlch(72.06, 56.38, 97.37°)
OKLaboklab(75.66% -0.0245 0.1269)
OKLCHoklch(75.66% 0.129 100.9)
XYZxyz(39.2443, 43.7415, 12.0048)
Luminance0.4374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B245 #4555C2
analogous
#C27445 #C2B245 #94C245
triadic
#C2B245 #45C2B2 #B245C2
tetradic
#C2B245 #45C274 #4555C2 #C24594
square
#C2B245 #45C274 #4555C2 #C24594
split-complementary
#C2B245 #4594C2 #7445C2
monochromatic
#6A6123 #988B32 #C2B245 #D1C573 #E0D8A1

Accessibility & contrast

On white

2.15
#C2B245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#C2B245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B245
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B245#FFFFFF#000000##000000
##C2B2451.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD38
Deuteranopia (green-blind)
#C6B34B
Tritanopia (blue-blind)
#D0A69B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c2b245;
/* rgb */ color: rgb(194, 178, 69);
/* oklch */ color: oklch(75.7% 0.129 100.9);
Tailwind
colors: {
  custom: {
    50: '#d8c87e',
    500: '#c2b245',
    950: '#000000',
  },
}
SCSS
$custom: #c2b245;
$custom-light: #d8c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b245",
  "rgb": {
    "r": 194,
    "g": 178,
    "b": 69
  },
  "hsl": {
    "h": 52.32,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75663,
    "c": 0.12927,
    "h": 100.9
  },
  "luminance": 0.4374
}

Semantic roles & 50–950 ramp

primary
#C2B245
secondary
#969DCD
accent
#60DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B245

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

Preview Lab → · Contrast checker → · Palette generator →

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