#B3A72E#B3A72E

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

Color values

HEX#B3A72E
RGBrgb(179, 167, 46)
HSLhsl(55, 59%, 44%)
HSVhsv(55, 74%, 70%)
CMYKcmyk(0%, 6.7%, 74.3%, 29.8%)
CIE-LABlab(67.59, -9.23, 60.10)
CIE-LCHlch(67.59, 60.80, 98.73°)
OKLaboklab(71.75% -0.0318 0.1323)
OKLCHoklch(71.75% 0.136 103.5)
XYZxyz(32.9037, 37.4198, 8.0738)
Luminance0.3742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A72E #2E3AB3
analogous
#B3642E #B3A72E #7DB32E
triadic
#B3A72E #2EB3A7 #A72EB3
tetradic
#B3A72E #2EB364 #2E3AB3 #B32E7D
square
#B3A72E #2EB364 #2E3AB3 #B32E7D
split-complementary
#B3A72E #2E7DB3 #642EB3
monochromatic
#524C15 #827A21 #B3A72E #D1C54D #DED57E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3A72E#FFFFFF#000000##000000
##B3A72E1.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)
#B6A117
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#C19B90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b3a72e;
/* rgb */ color: rgb(179, 167, 46);
/* oklch */ color: oklch(71.7% 0.136 103.5);
Tailwind
colors: {
  custom: {
    50: '#cdc070',
    500: '#b3a72e',
    950: '#000000',
  },
}
SCSS
$custom: #b3a72e;
$custom-light: #cdc070;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a72e",
  "rgb": {
    "r": 179,
    "g": 167,
    "b": 46
  },
  "hsl": {
    "h": 54.586,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71746,
    "c": 0.13606,
    "h": 103.5
  },
  "luminance": 0.37418
}

Semantic roles & 50–950 ramp

primary
#B3A72E
secondary
#767EC6
accent
#54E246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A72E

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

Preview Lab → · Contrast checker → · Palette generator →

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