#C2B435#C2B435

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

Color values

HEX#C2B435
RGBrgb(194, 180, 53)
HSLhsl(54, 57%, 48%)
HSVhsv(54, 73%, 76%)
CMYKcmyk(0%, 7.2%, 72.7%, 23.9%)
CIE-LABlab(72.48, -9.14, 62.71)
CIE-LCHlch(72.48, 63.37, 98.29°)
OKLaboklab(75.96% -0.0317 0.1386)
OKLCHoklch(75.96% 0.142 102.9)
XYZxyz(39.2137, 44.3706, 9.8663)
Luminance0.4437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B435 #3543C2
analogous
#C26E35 #C2B435 #89C235
triadic
#C2B435 #35C2B4 #B435C2
tetradic
#C2B435 #35C26E #3543C2 #C23589
square
#C2B435 #35C26E #3543C2 #C23589
split-complementary
#C2B435 #3589C2 #6E35C2
monochromatic
#625B1B #928728 #C2B435 #D4C860 #E1D991

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2B435#FFFFFF#000000##000000
##C2B4351.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)
#C5AE1F
Deuteranopia (green-blind)
#C9B53E
Tritanopia (blue-blind)
#D1A79B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c2b435;
/* rgb */ color: rgb(194, 180, 53);
/* oklch */ color: oklch(76.0% 0.142 102.9);
Tailwind
colors: {
  custom: {
    50: '#d8ca75',
    500: '#c2b435',
    950: '#000000',
  },
}
SCSS
$custom: #c2b435;
$custom-light: #d8ca75;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b435",
  "rgb": {
    "r": 194,
    "g": 180,
    "b": 53
  },
  "hsl": {
    "h": 54.043,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.7596,
    "c": 0.14213,
    "h": 102.9
  },
  "luminance": 0.44369
}

Semantic roles & 50–950 ramp

primary
#C2B435
secondary
#878ECC
accent
#57E047
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B435

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

Preview Lab → · Contrast checker → · Palette generator →

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