#B3A72F#B3A72F

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

Color values

HEX#B3A72F
RGBrgb(179, 167, 47)
HSLhsl(55, 58%, 44%)
HSVhsv(55, 74%, 70%)
CMYKcmyk(0%, 6.7%, 73.7%, 29.8%)
CIE-LABlab(67.60, -9.18, 59.75)
CIE-LCHlch(67.60, 60.45, 98.74°)
OKLaboklab(71.75% -0.0316 0.1317)
OKLCHoklch(71.75% 0.135 103.5)
XYZxyz(32.9237, 37.4277, 8.1788)
Luminance0.3743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A72F #2F3BB3
analogous
#B3652F #B3A72F #7DB32F
triadic
#B3A72F #2FB3A7 #A72FB3
tetradic
#B3A72F #2FB365 #2F3BB3 #B32F7D
square
#B3A72F #2FB365 #2F3BB3 #B32F7D
split-complementary
#B3A72F #2F7DB3 #652FB3
monochromatic
#524D16 #837A22 #B3A72F #D1C54F #DDD57F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #b3a72f;
/* rgb */ color: rgb(179, 167, 47);
/* oklch */ color: oklch(71.8% 0.135 103.5);
Tailwind
colors: {
  custom: {
    50: '#cdc070',
    500: '#b3a72f',
    950: '#000000',
  },
}
SCSS
$custom: #b3a72f;
$custom-light: #cdc070;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a72f",
  "rgb": {
    "r": 179,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 54.545,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71752,
    "c": 0.13546,
    "h": 103.5
  },
  "luminance": 0.37426
}

Semantic roles & 50–950 ramp

primary
#B3A72F
secondary
#787FC6
accent
#54E246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A72F

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

Preview Lab → · Contrast checker → · Palette generator →

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