#B89D2F#B89D2F

#B89D2F is a light, vivid yellow. Relative luminance 0.345; OKLCH L 70.1% C 0.128 H 94.7°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#B89D2F
RGBrgb(184, 157, 47)
HSLhsl(48, 59%, 45%)
HSVhsv(48, 74%, 72%)
CMYKcmyk(0%, 14.7%, 74.5%, 27.8%)
CIE-LABlab(65.37, -1.66, 57.77)
CIE-LCHlch(65.37, 57.80, 91.64°)
OKLaboklab(70.09% -0.0105 0.1273)
OKLCHoklch(70.09% 0.128 94.7)
XYZxyz(32.3389, 34.5113, 7.6468)
Luminance0.3451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B89D2F #2F4AB8
analogous
#B8582F #B89D2F #8EB82F
triadic
#B89D2F #2FB89D #9D2FB8
tetradic
#B89D2F #2FB858 #2F4AB8 #B82F8E
square
#B89D2F #2FB858 #2F4AB8 #B82F8E
split-complementary
#B89D2F #2F8EB8 #582FB8
monochromatic
#574A16 #877323 #B89D2F #D3B952 #DFCD82

Accessibility & contrast

On white

2.66
#B89D2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#B89D2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B89D2F
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B89D2F#FFFFFF#000000##000000
##B89D2F1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1C
Deuteranopia (green-blind)
#B5A236
Tritanopia (blue-blind)
#C79087
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b89d2f;
/* rgb */ color: rgb(184, 157, 47);
/* oklch */ color: oklch(70.1% 0.128 94.7);
Tailwind
colors: {
  custom: {
    50: '#d1b96f',
    500: '#b89d2f',
    950: '#000000',
  },
}
SCSS
$custom: #b89d2f;
$custom-light: #d1b96f;
$custom-dark: #000000;
JSON
{
  "hex": "#b89d2f",
  "rgb": {
    "r": 184,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 48.175,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70093,
    "c": 0.12777,
    "h": 94.7
  },
  "luminance": 0.3451
}

Semantic roles & 50–950 ramp

primary
#B89D2F
secondary
#7B8AC8
accent
#64E245
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B89D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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