#B89F2F#B89F2F

#B89F2F is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.5% C 0.129 H 96.0°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#B89F2F
RGBrgb(184, 159, 47)
HSLhsl(49, 59%, 45%)
HSVhsv(49, 74%, 72%)
CMYKcmyk(0%, 13.6%, 74.5%, 27.8%)
CIE-LABlab(65.90, -2.73, 58.28)
CIE-LCHlch(65.90, 58.35, 92.68°)
OKLaboklab(70.52% -0.0136 0.1284)
OKLCHoklch(70.52% 0.129 96)
XYZxyz(32.6801, 35.1936, 7.7605)
Luminance0.3519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B89F2F #2F48B8
analogous
#B85A2F #B89F2F #8CB82F
triadic
#B89F2F #2FB89F #9F2FB8
tetradic
#B89F2F #2FB85A #2F48B8 #B82F8C
square
#B89F2F #2FB85A #2F48B8 #B82F8C
split-complementary
#B89F2F #2F8CB8 #5A2FB8
monochromatic
#574B16 #877523 #B89F2F #D3BB52 #DFCE82

Accessibility & contrast

On white

2.61
#B89F2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#B89F2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B89F2F
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B89F2F#FFFFFF#000000##000000
##B89F2F1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1C
Deuteranopia (green-blind)
#B6A436
Tritanopia (blue-blind)
#C79289
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b89f2f;
/* rgb */ color: rgb(184, 159, 47);
/* oklch */ color: oklch(70.5% 0.129 96.0);
Tailwind
colors: {
  custom: {
    50: '#d1bb70',
    500: '#b89f2f',
    950: '#000000',
  },
}
SCSS
$custom: #b89f2f;
$custom-light: #d1bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#b89f2f",
  "rgb": {
    "r": 184,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 49.051,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70515,
    "c": 0.12914,
    "h": 96
  },
  "luminance": 0.35192
}

Semantic roles & 50–950 ramp

primary
#B89F2F
secondary
#7B89C8
accent
#62E245
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B89F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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