#B2A737#B2A737

#B2A737 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.7% C 0.130 H 103.7°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#B2A737
RGBrgb(178, 167, 55)
HSLhsl(55, 53%, 46%)
HSVhsv(55, 69%, 70%)
CMYKcmyk(0%, 6.2%, 69.1%, 30.2%)
CIE-LABlab(67.56, -9.22, 56.64)
CIE-LCHlch(67.56, 57.38, 99.24°)
OKLaboklab(71.72% -0.0308 0.1266)
OKLCHoklch(71.72% 0.13 103.7)
XYZxyz(32.8698, 37.3795, 9.0973)
Luminance0.3738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A737 #3742B2
analogous
#B26937 #B2A737 #7FB237
triadic
#B2A737 #37B2A7 #A737B2
tetradic
#B2A737 #37B269 #3742B2 #B2377F
square
#B2A737 #37B269 #3742B2 #B2377F
split-complementary
#B2A737 #377FB2 #6937B2
monochromatic
#544F1A #837B29 #B2A737 #CCC25A #DBD389

Accessibility & contrast

On white

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

On black

8.48
#B2A737 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A737
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A737#FFFFFF#000000##000000
##B2A7371.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A127
Deuteranopia (green-blind)
#B9A73E
Tritanopia (blue-blind)
#BF9C90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b2a737;
/* rgb */ color: rgb(178, 167, 55);
/* oklch */ color: oklch(71.7% 0.130 103.7);
Tailwind
colors: {
  custom: {
    50: '#ccc075',
    500: '#b2a737',
    950: '#000000',
  },
}
SCSS
$custom: #b2a737;
$custom-light: #ccc075;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a737",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 55
  },
  "hsl": {
    "h": 54.634,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71719,
    "c": 0.13033,
    "h": 103.7
  },
  "luminance": 0.37378
}

Semantic roles & 50–950 ramp

primary
#B2A737
secondary
#8086C5
accent
#59DC4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B2A737

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

Preview Lab → · Contrast checker → · Palette generator →

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