#B99E2D#B99E2D

#B99E2D is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.4% C 0.130 H 95.0°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#B99E2D
RGBrgb(185, 158, 45)
HSLhsl(48, 61%, 45%)
HSVhsv(48, 76%, 73%)
CMYKcmyk(0%, 14.6%, 75.7%, 27.5%)
CIE-LABlab(65.72, -1.84, 58.88)
CIE-LCHlch(65.72, 58.91, 91.79°)
OKLaboklab(70.39% -0.0113 0.1293)
OKLCHoklch(70.39% 0.13 95)
XYZxyz(32.7099, 34.9593, 7.5070)
Luminance0.3496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99E2D #2D48B9
analogous
#B9582D #B99E2D #8EB92D
triadic
#B99E2D #2DB99E #9E2DB9
tetradic
#B99E2D #2DB958 #2D48B9 #B92D8E
square
#B99E2D #2DB958 #2D48B9 #B92D8E
split-complementary
#B99E2D #2D8EB9 #582DB9
monochromatic
#574A15 #887421 #B99E2D #D4BB4F #E0CE80

Accessibility & contrast

On white

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

On black

7.99
#B99E2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99E2D
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99E2D#FFFFFF#000000##000000
##B99E2D1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B18
Deuteranopia (green-blind)
#B6A334
Tritanopia (blue-blind)
#C89188
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b99e2d;
/* rgb */ color: rgb(185, 158, 45);
/* oklch */ color: oklch(70.4% 0.130 95.0);
Tailwind
colors: {
  custom: {
    50: '#d2ba6e',
    500: '#b99e2d',
    950: '#000000',
  },
}
SCSS
$custom: #b99e2d;
$custom-light: #d2ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b99e2d",
  "rgb": {
    "r": 185,
    "g": 158,
    "b": 45
  },
  "hsl": {
    "h": 48.429,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70389,
    "c": 0.12975,
    "h": 95
  },
  "luminance": 0.34957
}

Semantic roles & 50–950 ramp

primary
#B99E2D
secondary
#7988C9
accent
#63E444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B99E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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