#B2A72E#B2A72E

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

Color values

HEX#B2A72E
RGBrgb(178, 167, 46)
HSLhsl(55, 59%, 44%)
HSVhsv(55, 74%, 70%)
CMYKcmyk(0%, 6.2%, 74.2%, 30.2%)
CIE-LABlab(67.50, -9.66, 59.98)
CIE-LCHlch(67.50, 60.76, 99.15°)
OKLaboklab(71.65% -0.033 0.1321)
OKLCHoklch(71.65% 0.136 104)
XYZxyz(32.6734, 37.3010, 8.0630)
Luminance0.3730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A72E #2E39B2
analogous
#B2652E #B2A72E #7BB22E
triadic
#B2A72E #2EB2A7 #A72EB2
tetradic
#B2A72E #2EB265 #2E39B2 #B22E7B
square
#B2A72E #2EB265 #2E39B2 #B22E7B
split-complementary
#B2A72E #2E7BB2 #652EB2
monochromatic
#514C15 #817921 #B2A72E #D1C64C #DDD57D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A72E#FFFFFF#000000##000000
##B2A72E1.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)
#B6A117
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#C09B90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a72e;
/* rgb */ color: rgb(178, 167, 46);
/* oklch */ color: oklch(71.7% 0.136 104.0);
Tailwind
colors: {
  custom: {
    50: '#cdc070',
    500: '#b2a72e',
    950: '#000000',
  },
}
SCSS
$custom: #b2a72e;
$custom-light: #cdc070;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a72e",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 46
  },
  "hsl": {
    "h": 55,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.71654,
    "c": 0.13613,
    "h": 104
  },
  "luminance": 0.373
}

Semantic roles & 50–950 ramp

primary
#B2A72E
secondary
#767DC6
accent
#53E246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A72E

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

Preview Lab → · Contrast checker → · Palette generator →

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