#B2A13D#B2A13D

#B2A13D is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.5% C 0.121 H 99.6°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#B2A13D
RGBrgb(178, 161, 61)
HSLhsl(51, 49%, 47%)
HSVhsv(51, 66%, 70%)
CMYKcmyk(0%, 9.6%, 65.7%, 30.2%)
CIE-LABlab(65.98, -5.70, 52.50)
CIE-LCHlch(65.98, 52.81, 96.19°)
OKLaboklab(70.48% -0.0201 0.1189)
OKLCHoklch(70.48% 0.121 99.6)
XYZxyz(31.9486, 35.2931, 9.5434)
Luminance0.3529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A13D #3D4EB2
analogous
#B2673D #B2A13D #89B23D
triadic
#B2A13D #3DB2A1 #A13DB2
tetradic
#B2A13D #3DB267 #3D4EB2 #B23D89
square
#B2A13D #3DB267 #3D4EB2 #B23D89
split-complementary
#B2A13D #3D89B2 #673DB2
monochromatic
#574F1E #84782D #B2A13D #C9BB63 #D9CF90

Accessibility & contrast

On white

2.61
#B2A13D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#B2A13D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A13D
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A13D#FFFFFF#000000##000000
##B2A13D1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D31
Deuteranopia (green-blind)
#B5A342
Tritanopia (blue-blind)
#BF968C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b2a13d;
/* rgb */ color: rgb(178, 161, 61);
/* oklch */ color: oklch(70.5% 0.121 99.6);
Tailwind
colors: {
  custom: {
    50: '#ccbc77',
    500: '#b2a13d',
    950: '#000000',
  },
}
SCSS
$custom: #b2a13d;
$custom-light: #ccbc77;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a13d",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 61
  },
  "hsl": {
    "h": 51.282,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.70476,
    "c": 0.12059,
    "h": 99.6
  },
  "luminance": 0.35292
}

Semantic roles & 50–950 ramp

primary
#B2A13D
secondary
#8790C4
accent
#63D94F
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A13D

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

Preview Lab → · Contrast checker → · Palette generator →

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