#B2A230#B2A230

#B2A230 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.6% C 0.131 H 101.1°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#B2A230
RGBrgb(178, 162, 48)
HSLhsl(53, 58%, 44%)
HSVhsv(53, 73%, 70%)
CMYKcmyk(0%, 9%, 73%, 30.2%)
CIE-LABlab(66.15, -6.94, 57.96)
CIE-LCHlch(66.15, 58.37, 96.83°)
OKLaboklab(70.58% -0.0251 0.1282)
OKLCHoklch(70.58% 0.131 101.1)
XYZxyz(31.8154, 35.5205, 7.9760)
Luminance0.3552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A230 #3040B2
analogous
#B26130 #B2A230 #81B230
triadic
#B2A230 #30B2A2 #A230B2
tetradic
#B2A230 #30B261 #3040B2 #B23081
square
#B2A230 #30B261 #3040B2 #B23081
split-complementary
#B2A230 #3081B2 #6130B2
monochromatic
#524A16 #827623 #B2A230 #D0C050 #DDD180

Accessibility & contrast

On white

2.59
#B2A230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#B2A230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A230
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A230#FFFFFF#000000##000000
##B2A2301.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1D
Deuteranopia (green-blind)
#B6A438
Tritanopia (blue-blind)
#C0968C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a230;
/* rgb */ color: rgb(178, 162, 48);
/* oklch */ color: oklch(70.6% 0.131 101.1);
Tailwind
colors: {
  custom: {
    50: '#cdbd70',
    500: '#b2a230',
    950: '#000000',
  },
}
SCSS
$custom: #b2a230;
$custom-light: #cdbd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a230",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 52.615,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70585,
    "c": 0.1306,
    "h": 101.1
  },
  "luminance": 0.35519
}

Semantic roles & 50–950 ramp

primary
#B2A230
secondary
#7882C6
accent
#5AE147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A230

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

Preview Lab → · Contrast checker → · Palette generator →

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