#B89B2F#B89B2F

#B89B2F is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.7% C 0.126 H 93.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#B89B2F
RGBrgb(184, 155, 47)
HSLhsl(47, 59%, 45%)
HSVhsv(47, 74%, 72%)
CMYKcmyk(0%, 15.8%, 74.5%, 27.8%)
CIE-LABlab(64.84, -0.58, 57.26)
CIE-LCHlch(64.84, 57.26, 90.58°)
OKLaboklab(69.67% -0.0075 0.1263)
OKLCHoklch(69.67% 0.126 93.4)
XYZxyz(32.0033, 33.8401, 7.5349)
Luminance0.3384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B89B2F #2F4CB8
analogous
#B8562F #B89B2F #91B82F
triadic
#B89B2F #2FB89B #9B2FB8
tetradic
#B89B2F #2FB856 #2F4CB8 #B82F91
square
#B89B2F #2FB856 #2F4CB8 #B82F91
split-complementary
#B89B2F #2F91B8 #562FB8
monochromatic
#574916 #877223 #B89B2F #D3B752 #DFCB82

Accessibility & contrast

On white

2.70
#B89B2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#B89B2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B89B2F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B89B2F#FFFFFF#000000##000000
##B89B2F1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981D
Deuteranopia (green-blind)
#B3A135
Tritanopia (blue-blind)
#C78E86
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b89b2f;
/* rgb */ color: rgb(184, 155, 47);
/* oklch */ color: oklch(69.7% 0.126 93.4);
Tailwind
colors: {
  custom: {
    50: '#d1b86f',
    500: '#b89b2f',
    950: '#000000',
  },
}
SCSS
$custom: #b89b2f;
$custom-light: #d1b86f;
$custom-dark: #000000;
JSON
{
  "hex": "#b89b2f",
  "rgb": {
    "r": 184,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 47.299,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.69674,
    "c": 0.12647,
    "h": 93.4
  },
  "luminance": 0.33838
}

Semantic roles & 50–950 ramp

primary
#B89B2F
secondary
#7B8BC8
accent
#67E245
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B89B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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