#B2A434#B2A434

#B2A434 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.0% C 0.130 H 102.1°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#B2A434
RGBrgb(178, 164, 52)
HSLhsl(53, 55%, 45%)
HSVhsv(53, 71%, 70%)
CMYKcmyk(0%, 7.9%, 70.8%, 30.2%)
CIE-LABlab(66.72, -7.80, 56.98)
CIE-LCHlch(66.72, 57.51, 97.79°)
OKLaboklab(71.05% -0.0271 0.1268)
OKLCHoklch(71.05% 0.13 102.1)
XYZxyz(32.2568, 36.2652, 8.5489)
Luminance0.3626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A434 #3442B2
analogous
#B26534 #B2A434 #81B234
triadic
#B2A434 #34B2A4 #A434B2
tetradic
#B2A434 #34B265 #3442B2 #B23481
square
#B2A434 #34B265 #3442B2 #B23481
split-complementary
#B2A434 #3481B2 #6534B2
monochromatic
#534D18 #837826 #B2A434 #CEC056 #DBD285

Accessibility & contrast

On white

2.54
#B2A434 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#B2A434 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A434
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A434#FFFFFF#000000##000000
##B2A4341.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F23
Deuteranopia (green-blind)
#B7A53B
Tritanopia (blue-blind)
#C0988E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a434;
/* rgb */ color: rgb(178, 164, 52);
/* oklch */ color: oklch(71.0% 0.130 102.1);
Tailwind
colors: {
  custom: {
    50: '#ccbe73',
    500: '#b2a434',
    950: '#000000',
  },
}
SCSS
$custom: #b2a434;
$custom-light: #ccbe73;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a434",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 52
  },
  "hsl": {
    "h": 53.333,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71046,
    "c": 0.1297,
    "h": 102.1
  },
  "luminance": 0.36264
}

Semantic roles & 50–950 ramp

primary
#B2A434
secondary
#7D85C5
accent
#5ADE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A434

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

Preview Lab → · Contrast checker → · Palette generator →

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