#B2A73E#B2A73E

#B2A73E is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.8% C 0.125 H 103.3°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#B2A73E
RGBrgb(178, 167, 62)
HSLhsl(54, 48%, 47%)
HSVhsv(54, 65%, 70%)
CMYKcmyk(0%, 6.2%, 65.2%, 30.2%)
CIE-LABlab(67.61, -8.81, 53.79)
CIE-LCHlch(67.61, 54.51, 99.30°)
OKLaboklab(71.78% -0.0288 0.1218)
OKLCHoklch(71.78% 0.125 103.3)
XYZxyz(33.0496, 37.4515, 10.0445)
Luminance0.3745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A73E #3E49B2
analogous
#B26D3E #B2A73E #83B23E
triadic
#B2A73E #3EB2A7 #A73EB2
tetradic
#B2A73E #3EB26D #3E49B2 #B23E83
square
#B2A73E #3EB26D #3E49B2 #B23E83
split-complementary
#B2A73E #3E83B2 #6D3EB2
monochromatic
#57521E #857C2E #B2A73E #C9BF64 #D9D292

Accessibility & contrast

On white

2.47
#B2A73E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#B2A73E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A73E
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A73E#FFFFFF#000000##000000
##B2A73E1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A231
Deuteranopia (green-blind)
#B9A744
Tritanopia (blue-blind)
#BF9C91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b2a73e;
/* rgb */ color: rgb(178, 167, 62);
/* oklch */ color: oklch(71.8% 0.125 103.3);
Tailwind
colors: {
  custom: {
    50: '#ccc078',
    500: '#b2a73e',
    950: '#000000',
  },
}
SCSS
$custom: #b2a73e;
$custom-light: #ccc078;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a73e",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 62
  },
  "hsl": {
    "h": 54.31,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71779,
    "c": 0.12517,
    "h": 103.3
  },
  "luminance": 0.3745
}

Semantic roles & 50–950 ramp

primary
#B2A73E
secondary
#888DC4
accent
#5DD850
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A73E

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

Preview Lab → · Contrast checker → · Palette generator →

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