#B99D2F#B99D2F

#B99D2F is a light, vivid yellow. Relative luminance 0.346; OKLCH L 70.2% C 0.128 H 94.2°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#B99D2F
RGBrgb(185, 157, 47)
HSLhsl(48, 59%, 45%)
HSVhsv(48, 75%, 73%)
CMYKcmyk(0%, 15.1%, 74.6%, 27.5%)
CIE-LABlab(65.46, -1.21, 57.90)
CIE-LCHlch(65.46, 57.91, 91.20°)
OKLaboklab(70.19% -0.0093 0.1276)
OKLCHoklch(70.19% 0.128 94.2)
XYZxyz(32.5794, 34.6353, 7.6580)
Luminance0.3463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99D2F #2F4BB9
analogous
#B9582F #B99D2F #90B92F
triadic
#B99D2F #2FB99D #9D2FB9
tetradic
#B99D2F #2FB958 #2F4BB9 #B92F90
square
#B99D2F #2FB958 #2F4BB9 #B92F90
split-complementary
#B99D2F #2F90B9 #582FB9
monochromatic
#574A16 #887423 #B99D2F #D3B952 #DFCD83

Accessibility & contrast

On white

2.65
#B99D2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#B99D2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99D2F
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99D2F#FFFFFF#000000##000000
##B99D2F1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b99d2f;
/* rgb */ color: rgb(185, 157, 47);
/* oklch */ color: oklch(70.2% 0.128 94.2);
Tailwind
colors: {
  custom: {
    50: '#d2b96f',
    500: '#b99d2f',
    950: '#000000',
  },
}
SCSS
$custom: #b99d2f;
$custom-light: #d2b96f;
$custom-dark: #000000;
JSON
{
  "hex": "#b99d2f",
  "rgb": {
    "r": 185,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 47.826,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70193,
    "c": 0.12791,
    "h": 94.2
  },
  "luminance": 0.34633
}

Semantic roles & 50–950 ramp

primary
#B99D2F
secondary
#7B8BC9
accent
#65E345
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B99D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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