#C2B334#C2B334

#C2B334 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.7% C 0.142 H 102.4°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#C2B334
RGBrgb(194, 179, 52)
HSLhsl(54, 58%, 48%)
HSVhsv(54, 73%, 76%)
CMYKcmyk(0%, 7.7%, 73.2%, 23.9%)
CIE-LABlab(72.20, -8.66, 62.81)
CIE-LCHlch(72.20, 63.41, 97.85°)
OKLaboklab(75.74% -0.0304 0.1386)
OKLCHoklch(75.74% 0.142 102.4)
XYZxyz(38.9898, 43.9592, 9.6794)
Luminance0.4396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B334 #3443C2
analogous
#C26C34 #C2B334 #8AC234
triadic
#C2B334 #34C2B3 #B334C2
tetradic
#C2B334 #34C26C #3443C2 #C2348A
square
#C2B334 #34C26C #3443C2 #C2348A
split-complementary
#C2B334 #348AC2 #6C34C2
monochromatic
#615A1A #928627 #C2B334 #D4C85F #E1D88F

Accessibility & contrast

On white

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

On black

9.79
#C2B334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B334
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B334#FFFFFF#000000##000000
##C2B3341.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2b334;
/* rgb */ color: rgb(194, 179, 52);
/* oklch */ color: oklch(75.7% 0.142 102.4);
Tailwind
colors: {
  custom: {
    50: '#d8c974',
    500: '#c2b334',
    950: '#000000',
  },
}
SCSS
$custom: #c2b334;
$custom-light: #d8c974;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b334",
  "rgb": {
    "r": 194,
    "g": 179,
    "b": 52
  },
  "hsl": {
    "h": 53.662,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7574,
    "c": 0.14189,
    "h": 102.4
  },
  "luminance": 0.43957
}

Semantic roles & 50–950 ramp

primary
#C2B334
secondary
#868DCC
accent
#57E147
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B334

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

Preview Lab → · Contrast checker → · Palette generator →

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