#B89A2F#B89A2F

#B89A2F is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.5% C 0.126 H 92.7°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#B89A2F
RGBrgb(184, 154, 47)
HSLhsl(47, 59%, 45%)
HSVhsv(47, 74%, 72%)
CMYKcmyk(0%, 16.3%, 74.5%, 27.8%)
CIE-LABlab(64.57, -0.04, 57.00)
CIE-LCHlch(64.57, 57.00, 90.04°)
OKLaboklab(69.46% -0.0059 0.1257)
OKLCHoklch(69.46% 0.126 92.7)
XYZxyz(31.8376, 33.5087, 7.4797)
Luminance0.3351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B89A2F #2F4DB8
analogous
#B8552F #B89A2F #92B82F
triadic
#B89A2F #2FB89A #9A2FB8
tetradic
#B89A2F #2FB855 #2F4DB8 #B82F92
square
#B89A2F #2FB855 #2F4DB8 #B82F92
split-complementary
#B89A2F #2F92B8 #552FB8
monochromatic
#574816 #877123 #B89A2F #D3B652 #DFCB82

Accessibility & contrast

On white

2.73
#B89A2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#B89A2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B89A2F
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B89A2F#FFFFFF#000000##000000
##B89A2F1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB981D
Deuteranopia (green-blind)
#B2A035
Tritanopia (blue-blind)
#C78D85
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b89a2f;
/* rgb */ color: rgb(184, 154, 47);
/* oklch */ color: oklch(69.5% 0.126 92.7);
Tailwind
colors: {
  custom: {
    50: '#d1b76f',
    500: '#b89a2f',
    950: '#000000',
  },
}
SCSS
$custom: #b89a2f;
$custom-light: #d1b76f;
$custom-dark: #000000;
JSON
{
  "hex": "#b89a2f",
  "rgb": {
    "r": 184,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 46.861,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.69464,
    "c": 0.12585,
    "h": 92.7
  },
  "luminance": 0.33507
}

Semantic roles & 50–950 ramp

primary
#B89A2F
secondary
#7B8CC8
accent
#68E245
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B89A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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