#B2A634#B2A634

#B2A634 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.5% C 0.131 H 103.2°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B2A634
RGBrgb(178, 166, 52)
HSLhsl(54, 55%, 45%)
HSVhsv(54, 71%, 70%)
CMYKcmyk(0%, 6.7%, 70.8%, 30.2%)
CIE-LABlab(67.27, -8.85, 57.52)
CIE-LCHlch(67.27, 58.20, 98.75°)
OKLaboklab(71.48% -0.0301 0.128)
OKLCHoklch(71.48% 0.131 103.2)
XYZxyz(32.6175, 36.9867, 8.6692)
Luminance0.3699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A634 #3440B2
analogous
#B26734 #B2A634 #7FB234
triadic
#B2A634 #34B2A6 #A634B2
tetradic
#B2A634 #34B267 #3440B2 #B2347F
square
#B2A634 #34B267 #3440B2 #B2347F
split-complementary
#B2A634 #347FB2 #6734B2
monochromatic
#534E18 #837A26 #B2A634 #CEC256 #DBD385

Accessibility & contrast

On white

2.50
#B2A634 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#B2A634 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A634
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A634#FFFFFF#000000##000000
##B2A6341.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A122
Deuteranopia (green-blind)
#B9A63B
Tritanopia (blue-blind)
#BF9A8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a634;
/* rgb */ color: rgb(178, 166, 52);
/* oklch */ color: oklch(71.5% 0.131 103.2);
Tailwind
colors: {
  custom: {
    50: '#ccc073',
    500: '#b2a634',
    950: '#000000',
  },
}
SCSS
$custom: #b2a634;
$custom-light: #ccc073;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a634",
  "rgb": {
    "r": 178,
    "g": 166,
    "b": 52
  },
  "hsl": {
    "h": 54.286,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71479,
    "c": 0.13147,
    "h": 103.2
  },
  "luminance": 0.36985
}

Semantic roles & 50–950 ramp

primary
#B2A634
secondary
#7D84C5
accent
#58DE4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A634

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

Preview Lab → · Contrast checker → · Palette generator →

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