#B2A734#B2A734

#B2A734 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.7% C 0.132 H 103.8°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#B2A734
RGBrgb(178, 167, 52)
HSLhsl(55, 55%, 45%)
HSVhsv(55, 71%, 70%)
CMYKcmyk(0%, 6.2%, 70.8%, 30.2%)
CIE-LABlab(67.54, -9.38, 57.79)
CIE-LCHlch(67.54, 58.55, 99.22°)
OKLaboklab(71.7% -0.0315 0.1286)
OKLCHoklch(71.7% 0.132 103.8)
XYZxyz(32.8000, 37.3517, 8.7300)
Luminance0.3735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A734 #343FB2
analogous
#B26834 #B2A734 #7EB234
triadic
#B2A734 #34B2A7 #A734B2
tetradic
#B2A734 #34B268 #343FB2 #B2347E
square
#B2A734 #34B268 #343FB2 #B2347E
split-complementary
#B2A734 #347EB2 #6834B2
monochromatic
#534E18 #837B26 #B2A734 #CEC356 #DBD485

Accessibility & contrast

On white

2.48
#B2A734 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#B2A734 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A734
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A734#FFFFFF#000000##000000
##B2A7341.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A122
Deuteranopia (green-blind)
#BAA73C
Tritanopia (blue-blind)
#BF9B90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a734;
/* rgb */ color: rgb(178, 167, 52);
/* oklch */ color: oklch(71.7% 0.132 103.8);
Tailwind
colors: {
  custom: {
    50: '#ccc073',
    500: '#b2a734',
    950: '#000000',
  },
}
SCSS
$custom: #b2a734;
$custom-light: #ccc073;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a734",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 52
  },
  "hsl": {
    "h": 54.762,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71696,
    "c": 0.13237,
    "h": 103.8
  },
  "luminance": 0.3735
}

Semantic roles & 50–950 ramp

primary
#B2A734
secondary
#7D83C5
accent
#57DE4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A734

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

Preview Lab → · Contrast checker → · Palette generator →

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