#B99D30#B99D30

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

Color values

HEX#B99D30
RGBrgb(185, 157, 48)
HSLhsl(48, 59%, 46%)
HSVhsv(48, 74%, 73%)
CMYKcmyk(0%, 15.1%, 74.1%, 27.5%)
CIE-LABlab(65.47, -1.17, 57.53)
CIE-LCHlch(65.47, 57.54, 91.16°)
OKLaboklab(70.2% -0.0091 0.127)
OKLCHoklch(70.2% 0.127 94.1)
XYZxyz(32.5998, 34.6435, 7.7655)
Luminance0.3464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99D30 #304CB9
analogous
#B95830 #B99D30 #90B930
triadic
#B99D30 #30B99D #9D30B9
tetradic
#B99D30 #30B958 #304CB9 #B93090
square
#B99D30 #30B958 #304CB9 #B93090
split-complementary
#B99D30 #3090B9 #5830B9
monochromatic
#584B17 #887423 #B99D30 #D3B954 #DFCD84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B99D30#FFFFFF#000000##000000
##B99D301.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)
#AE9A1E
Deuteranopia (green-blind)
#B5A336
Tritanopia (blue-blind)
#C89088
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b99d30;
/* rgb */ color: rgb(185, 157, 48);
/* oklch */ color: oklch(70.2% 0.127 94.1);
Tailwind
colors: {
  custom: {
    50: '#d2b970',
    500: '#b99d30',
    950: '#000000',
  },
}
SCSS
$custom: #b99d30;
$custom-light: #d2b970;
$custom-dark: #000000;
JSON
{
  "hex": "#b99d30",
  "rgb": {
    "r": 185,
    "g": 157,
    "b": 48
  },
  "hsl": {
    "h": 47.737,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.702,
    "c": 0.12729,
    "h": 94.1
  },
  "luminance": 0.34642
}

Semantic roles & 50–950 ramp

primary
#B99D30
secondary
#7C8CC9
accent
#66E246
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B99D30

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

Preview Lab → · Contrast checker → · Palette generator →

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