#B2A03B#B2A03B

#B2A03B is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.2% C 0.121 H 99.1°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#B2A03B
RGBrgb(178, 160, 59)
HSLhsl(51, 50%, 46%)
HSVhsv(51, 67%, 70%)
CMYKcmyk(0%, 10.1%, 66.9%, 30.2%)
CIE-LABlab(65.69, -5.28, 53.06)
CIE-LCHlch(65.69, 53.32, 95.69°)
OKLaboklab(70.24% -0.0192 0.1198)
OKLCHoklch(70.24% 0.121 99.1)
XYZxyz(31.7217, 34.9238, 9.2069)
Luminance0.3492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A03B #3B4DB2
analogous
#B2653B #B2A03B #89B23B
triadic
#B2A03B #3BB2A0 #A03BB2
tetradic
#B2A03B #3BB265 #3B4DB2 #B23B89
square
#B2A03B #3BB265 #3B4DB2 #B23B89
split-complementary
#B2A03B #3B89B2 #653BB2
monochromatic
#564D1D #84772C #B2A03B #CABA60 #DACE8E

Accessibility & contrast

On white

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

On black

7.98
#B2A03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A03B
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A03B#FFFFFF#000000##000000
##B2A03B1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C2E
Deuteranopia (green-blind)
#B4A241
Tritanopia (blue-blind)
#C0958B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b2a03b;
/* rgb */ color: rgb(178, 160, 59);
/* oklch */ color: oklch(70.2% 0.121 99.1);
Tailwind
colors: {
  custom: {
    50: '#ccbb76',
    500: '#b2a03b',
    950: '#000000',
  },
}
SCSS
$custom: #b2a03b;
$custom-light: #ccbb76;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a03b",
  "rgb": {
    "r": 178,
    "g": 160,
    "b": 59
  },
  "hsl": {
    "h": 50.924,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70243,
    "c": 0.12128,
    "h": 99.1
  },
  "luminance": 0.34922
}

Semantic roles & 50–950 ramp

primary
#B2A03B
secondary
#858EC4
accent
#63DA4E
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #B2A03B

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

Preview Lab → · Contrast checker → · Palette generator →

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