#B99E2F#B99E2F

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

Color values

HEX#B99E2F
RGBrgb(185, 158, 47)
HSLhsl(48, 59%, 45%)
HSVhsv(48, 75%, 73%)
CMYKcmyk(0%, 14.6%, 74.6%, 27.5%)
CIE-LABlab(65.73, -1.75, 58.15)
CIE-LCHlch(65.73, 58.18, 91.73°)
OKLaboklab(70.4% -0.0108 0.1281)
OKLCHoklch(70.4% 0.129 94.8)
XYZxyz(32.7493, 34.9751, 7.7147)
Luminance0.3497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99E2F #2F4AB9
analogous
#B9592F #B99E2F #8FB92F
triadic
#B99E2F #2FB99E #9E2FB9
tetradic
#B99E2F #2FB959 #2F4AB9 #B92F8F
square
#B99E2F #2FB959 #2F4AB9 #B92F8F
split-complementary
#B99E2F #2F8FB9 #592FB9
monochromatic
#574B16 #887423 #B99E2F #D3BA52 #DFCD83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B99E2F#FFFFFF#000000##000000
##B99E2F1.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)
#AF9B1C
Deuteranopia (green-blind)
#B6A336
Tritanopia (blue-blind)
#C89188
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b99e2f;
/* rgb */ color: rgb(185, 158, 47);
/* oklch */ color: oklch(70.4% 0.129 94.8);
Tailwind
colors: {
  custom: {
    50: '#d2ba6f',
    500: '#b99e2f',
    950: '#000000',
  },
}
SCSS
$custom: #b99e2f;
$custom-light: #d2ba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b99e2f",
  "rgb": {
    "r": 185,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 48.261,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70403,
    "c": 0.12857,
    "h": 94.8
  },
  "luminance": 0.34973
}

Semantic roles & 50–950 ramp

primary
#B99E2F
secondary
#7B8AC9
accent
#64E345
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B99E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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