#B2A738#B2A738

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

Color values

HEX#B2A738
RGBrgb(178, 167, 56)
HSLhsl(55, 52%, 46%)
HSVhsv(55, 69%, 70%)
CMYKcmyk(0%, 6.2%, 68.5%, 30.2%)
CIE-LABlab(67.57, -9.16, 56.24)
CIE-LCHlch(67.57, 56.98, 99.25°)
OKLaboklab(71.73% -0.0305 0.126)
OKLCHoklch(71.73% 0.13 103.6)
XYZxyz(32.8940, 37.3892, 9.2248)
Luminance0.3739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A738 #3843B2
analogous
#B26A38 #B2A738 #80B238
triadic
#B2A738 #38B2A7 #A738B2
tetradic
#B2A738 #38B26A #3843B2 #B23880
square
#B2A738 #38B26A #3843B2 #B23880
split-complementary
#B2A738 #3880B2 #6A38B2
monochromatic
#55501B #837B29 #B2A738 #CCC15C #DAD38A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A738#FFFFFF#000000##000000
##B2A7381.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)
#B6A128
Deuteranopia (green-blind)
#B9A73F
Tritanopia (blue-blind)
#BF9C91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b2a738;
/* rgb */ color: rgb(178, 167, 56);
/* oklch */ color: oklch(71.7% 0.130 103.6);
Tailwind
colors: {
  custom: {
    50: '#ccc075',
    500: '#b2a738',
    950: '#000000',
  },
}
SCSS
$custom: #b2a738;
$custom-light: #ccc075;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a738",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 56
  },
  "hsl": {
    "h": 54.59,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71727,
    "c": 0.12962,
    "h": 103.6
  },
  "luminance": 0.37388
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2A738

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

Preview Lab → · Contrast checker → · Palette generator →

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