#B2A72D#B2A72D

#B2A72D is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.6% C 0.137 H 104.1°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#B2A72D
RGBrgb(178, 167, 45)
HSLhsl(55, 60%, 44%)
HSVhsv(55, 75%, 70%)
CMYKcmyk(0%, 6.2%, 74.7%, 30.2%)
CIE-LABlab(67.50, -9.71, 60.33)
CIE-LCHlch(67.50, 61.11, 99.14°)
OKLaboklab(71.65% -0.0332 0.1326)
OKLCHoklch(71.65% 0.137 104.1)
XYZxyz(32.6539, 37.2932, 7.9604)
Luminance0.3729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A72D #2D38B2
analogous
#B2642D #B2A72D #7AB22D
triadic
#B2A72D #2DB2A7 #A72DB2
tetradic
#B2A72D #2DB264 #2D38B2 #B22D7A
square
#B2A72D #2DB264 #2D38B2 #B22D7A
split-complementary
#B2A72D #2D7AB2 #642DB2
monochromatic
#504B14 #817921 #B2A72D #D1C64B #DED67C

Accessibility & contrast

On white

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

On black

8.46
#B2A72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A72D
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A72D#FFFFFF#000000##000000
##B2A72D1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A115
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#C09B90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a72d;
/* rgb */ color: rgb(178, 167, 45);
/* oklch */ color: oklch(71.6% 0.137 104.1);
Tailwind
colors: {
  custom: {
    50: '#cdc06f',
    500: '#b2a72d',
    950: '#000000',
  },
}
SCSS
$custom: #b2a72d;
$custom-light: #cdc06f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a72d",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 45
  },
  "hsl": {
    "h": 55.038,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71648,
    "c": 0.13672,
    "h": 104.1
  },
  "luminance": 0.37292
}

Semantic roles & 50–950 ramp

primary
#B2A72D
secondary
#757BC6
accent
#52E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A72D

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

Preview Lab → · Contrast checker → · Palette generator →

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