#C2B433#C2B433

#C2B433 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.9% C 0.143 H 102.9°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#C2B433
RGBrgb(194, 180, 51)
HSLhsl(54, 58%, 48%)
HSVhsv(54, 74%, 76%)
CMYKcmyk(0%, 7.2%, 73.7%, 23.9%)
CIE-LABlab(72.46, -9.23, 63.42)
CIE-LCHlch(72.46, 64.09, 98.28°)
OKLaboklab(75.95% -0.0321 0.1397)
OKLCHoklch(75.95% 0.143 102.9)
XYZxyz(39.1687, 44.3525, 9.6290)
Luminance0.4435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B433 #3341C2
analogous
#C26C33 #C2B433 #88C233
triadic
#C2B433 #33C2B4 #B433C2
tetradic
#C2B433 #33C26C #3341C2 #C23388
square
#C2B433 #33C26C #3341C2 #C23388
split-complementary
#C2B433 #3388C2 #6C33C2
monochromatic
#615A1A #928726 #C2B433 #D5C95E #E1D98E

Accessibility & contrast

On white

2.13
#C2B433 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#C2B433 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B433
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B433#FFFFFF#000000##000000
##C2B4331.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE1B
Deuteranopia (green-blind)
#C9B53C
Tritanopia (blue-blind)
#D1A79B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c2b433;
/* rgb */ color: rgb(194, 180, 51);
/* oklch */ color: oklch(75.9% 0.143 102.9);
Tailwind
colors: {
  custom: {
    50: '#d8ca74',
    500: '#c2b433',
    950: '#000000',
  },
}
SCSS
$custom: #c2b433;
$custom-light: #d8ca74;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b433",
  "rgb": {
    "r": 194,
    "g": 180,
    "b": 51
  },
  "hsl": {
    "h": 54.126,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.75946,
    "c": 0.14334,
    "h": 102.9
  },
  "luminance": 0.44351
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2B433

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

Preview Lab → · Contrast checker → · Palette generator →

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