#C2B845#C2B845

#C2B845 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.9% C 0.135 H 104.3°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#C2B845
RGBrgb(194, 184, 69)
HSLhsl(55, 51%, 52%)
HSVhsv(55, 64%, 76%)
CMYKcmyk(0%, 5.2%, 64.4%, 23.9%)
CIE-LABlab(73.66, -10.34, 57.62)
CIE-LCHlch(73.66, 58.54, 100.17°)
OKLaboklab(76.94% -0.0334 0.1305)
OKLCHoklch(76.94% 0.135 104.3)
XYZxyz(40.4643, 46.1815, 12.4115)
Luminance0.4618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B845 #454FC2
analogous
#C27A45 #C2B845 #8EC245
triadic
#C2B845 #45C2B8 #B845C2
tetradic
#C2B845 #45C27A #454FC2 #C2458E
square
#C2B845 #45C27A #454FC2 #C2458E
split-complementary
#C2B845 #458EC2 #7A45C2
monochromatic
#6A6423 #989032 #C2B845 #D1CA73 #E0DBA1

Accessibility & contrast

On white

2.05
#C2B845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#C2B845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B845
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B845#FFFFFF#000000##000000
##C2B8451.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B236
Deuteranopia (green-blind)
#CBB74C
Tritanopia (blue-blind)
#D0ACA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c2b845;
/* rgb */ color: rgb(194, 184, 69);
/* oklch */ color: oklch(76.9% 0.135 104.3);
Tailwind
colors: {
  custom: {
    50: '#d7cd7e',
    500: '#c2b845',
    950: '#000000',
  },
}
SCSS
$custom: #c2b845;
$custom-light: #d7cd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b845",
  "rgb": {
    "r": 194,
    "g": 184,
    "b": 69
  },
  "hsl": {
    "h": 55.2,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7694,
    "c": 0.13472,
    "h": 104.3
  },
  "luminance": 0.4618
}

Semantic roles & 50–950 ramp

primary
#C2B845
secondary
#969ACD
accent
#59DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B845

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

Preview Lab → · Contrast checker → · Palette generator →

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