#B2A03D#B2A03D

#B2A03D is a light, moderate yellow. Relative luminance 0.349; OKLCH L 70.3% C 0.120 H 98.9°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#B2A03D
RGBrgb(178, 160, 61)
HSLhsl(51, 49%, 47%)
HSVhsv(51, 66%, 70%)
CMYKcmyk(0%, 10.1%, 65.7%, 30.2%)
CIE-LABlab(65.71, -5.16, 52.21)
CIE-LCHlch(65.71, 52.47, 95.65°)
OKLaboklab(70.26% -0.0186 0.1183)
OKLCHoklch(70.26% 0.12 98.9)
XYZxyz(31.7746, 34.9450, 9.4853)
Luminance0.3494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A03D #3D4FB2
analogous
#B2663D #B2A03D #8AB23D
triadic
#B2A03D #3DB2A0 #A03DB2
tetradic
#B2A03D #3DB266 #3D4FB2 #B23D8A
square
#B2A03D #3DB266 #3D4FB2 #B23D8A
split-complementary
#B2A03D #3D8AB2 #663DB2
monochromatic
#574E1E #84772D #B2A03D #C9BA63 #D9CE90

Accessibility & contrast

On white

2.63
#B2A03D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#B2A03D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A03D
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A03D#FFFFFF#000000##000000
##B2A03D1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C31
Deuteranopia (green-blind)
#B4A242
Tritanopia (blue-blind)
#BF958B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b2a03d;
/* rgb */ color: rgb(178, 160, 61);
/* oklch */ color: oklch(70.3% 0.120 98.9);
Tailwind
colors: {
  custom: {
    50: '#ccbb77',
    500: '#b2a03d',
    950: '#000000',
  },
}
SCSS
$custom: #b2a03d;
$custom-light: #ccbb77;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a03d",
  "rgb": {
    "r": 178,
    "g": 160,
    "b": 61
  },
  "hsl": {
    "h": 50.769,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.70261,
    "c": 0.11974,
    "h": 98.9
  },
  "luminance": 0.34944
}

Semantic roles & 50–950 ramp

primary
#B2A03D
secondary
#8790C4
accent
#64D94F
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #B2A03D

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

Preview Lab → · Contrast checker → · Palette generator →

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