#B89E2F#B89E2F

#B89E2F is a light, vivid yellow. Relative luminance 0.348; OKLCH L 70.3% C 0.128 H 95.4°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#B89E2F
RGBrgb(184, 158, 47)
HSLhsl(49, 59%, 45%)
HSVhsv(49, 74%, 72%)
CMYKcmyk(0%, 14.1%, 74.5%, 27.8%)
CIE-LABlab(65.63, -2.20, 58.03)
CIE-LCHlch(65.63, 58.07, 92.17°)
OKLaboklab(70.3% -0.0121 0.1279)
OKLCHoklch(70.3% 0.128 95.4)
XYZxyz(32.5088, 34.8511, 7.7034)
Luminance0.3485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B89E2F #2F49B8
analogous
#B8592F #B89E2F #8DB82F
triadic
#B89E2F #2FB89E #9E2FB8
tetradic
#B89E2F #2FB859 #2F49B8 #B82F8D
square
#B89E2F #2FB859 #2F49B8 #B82F8D
split-complementary
#B89E2F #2F8DB8 #592FB8
monochromatic
#574A16 #877423 #B89E2F #D3BA52 #DFCE82

Accessibility & contrast

On white

2.63
#B89E2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#B89E2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B89E2F
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B89E2F#FFFFFF#000000##000000
##B89E2F1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1C
Deuteranopia (green-blind)
#B5A336
Tritanopia (blue-blind)
#C79188
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b89e2f;
/* rgb */ color: rgb(184, 158, 47);
/* oklch */ color: oklch(70.3% 0.128 95.4);
Tailwind
colors: {
  custom: {
    50: '#d1ba6f',
    500: '#b89e2f',
    950: '#000000',
  },
}
SCSS
$custom: #b89e2f;
$custom-light: #d1ba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b89e2f",
  "rgb": {
    "r": 184,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 48.613,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70304,
    "c": 0.12845,
    "h": 95.4
  },
  "luminance": 0.34849
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B89E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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