#C2B333#C2B333

#C2B333 is a light, vivid yellow. Relative luminance 0.439; 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#C2B333
RGBrgb(194, 179, 51)
HSLhsl(54, 58%, 48%)
HSVhsv(54, 74%, 76%)
CMYKcmyk(0%, 7.7%, 73.7%, 23.9%)
CIE-LABlab(72.20, -8.71, 63.16)
CIE-LCHlch(72.20, 63.76, 97.85°)
OKLaboklab(75.73% -0.0307 0.1392)
OKLCHoklch(75.73% 0.142 102.4)
XYZxyz(38.9675, 43.9502, 9.5620)
Luminance0.4395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B333 #3342C2
analogous
#C26B33 #C2B333 #89C233
triadic
#C2B333 #33C2B3 #B333C2
tetradic
#C2B333 #33C26B #3342C2 #C23389
square
#C2B333 #33C26B #3342C2 #C23389
split-complementary
#C2B333 #3389C2 #6B33C2
monochromatic
#615A1A #928626 #C2B333 #D5C85E #E1D98E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2B333#FFFFFF#000000##000000
##C2B3331.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2b333;
/* rgb */ color: rgb(194, 179, 51);
/* oklch */ color: oklch(75.7% 0.142 102.4);
Tailwind
colors: {
  custom: {
    50: '#d8c974',
    500: '#c2b333',
    950: '#000000',
  },
}
SCSS
$custom: #c2b333;
$custom-light: #d8c974;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b333",
  "rgb": {
    "r": 194,
    "g": 179,
    "b": 51
  },
  "hsl": {
    "h": 53.706,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.75733,
    "c": 0.14249,
    "h": 102.4
  },
  "luminance": 0.43949
}

Semantic roles & 50–950 ramp

primary
#C2B333
secondary
#858CCC
accent
#57E246
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B333

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

Preview Lab → · Contrast checker → · Palette generator →

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