#C2B336#C2B336

#C2B336 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.8% C 0.141 H 102.3°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#C2B336
RGBrgb(194, 179, 54)
HSLhsl(54, 56%, 49%)
HSVhsv(54, 72%, 76%)
CMYKcmyk(0%, 7.7%, 72.2%, 23.9%)
CIE-LABlab(72.21, -8.57, 62.09)
CIE-LCHlch(72.21, 62.68, 97.86°)
OKLaboklab(75.75% -0.03 0.1374)
OKLCHoklch(75.75% 0.141 102.3)
XYZxyz(39.0358, 43.9776, 9.9216)
Luminance0.4398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B336 #3645C2
analogous
#C26D36 #C2B336 #8BC236
triadic
#C2B336 #36C2B3 #B336C2
tetradic
#C2B336 #36C26D #3645C2 #C2368B
square
#C2B336 #36C26D #3645C2 #C2368B
split-complementary
#C2B336 #368BC2 #6D36C2
monochromatic
#625B1B #928729 #C2B336 #D3C762 #E1D892

Accessibility & contrast

On white

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

On black

9.80
#C2B336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B336
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B336#FFFFFF#000000##000000
##C2B3361.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD21
Deuteranopia (green-blind)
#C8B43E
Tritanopia (blue-blind)
#D1A69A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c2b336;
/* rgb */ color: rgb(194, 179, 54);
/* oklch */ color: oklch(75.8% 0.141 102.3);
Tailwind
colors: {
  custom: {
    50: '#d8c975',
    500: '#c2b336',
    950: '#000000',
  },
}
SCSS
$custom: #c2b336;
$custom-light: #d8c975;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b336",
  "rgb": {
    "r": 194,
    "g": 179,
    "b": 54
  },
  "hsl": {
    "h": 53.571,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.75754,
    "c": 0.14067,
    "h": 102.3
  },
  "luminance": 0.43976
}

Semantic roles & 50–950 ramp

primary
#C2B336
secondary
#888FCC
accent
#58E048
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B336

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

Preview Lab → · Contrast checker → · Palette generator →

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