#B9A430#B9A430

#B9A430 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.7% C 0.132 H 98.6°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#B9A430
RGBrgb(185, 164, 48)
HSLhsl(51, 59%, 46%)
HSVhsv(51, 74%, 73%)
CMYKcmyk(0%, 11.4%, 74.1%, 27.5%)
CIE-LABlab(67.34, -4.91, 59.32)
CIE-LCHlch(67.34, 59.53, 94.73°)
OKLaboklab(71.68% -0.0197 0.1308)
OKLCHoklch(71.68% 0.132 98.6)
XYZxyz(33.8182, 37.0803, 8.1716)
Luminance0.3708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A430 #3045B9
analogous
#B95F30 #B9A430 #89B930
triadic
#B9A430 #30B9A4 #A430B9
tetradic
#B9A430 #30B95F #3045B9 #B93089
square
#B9A430 #30B95F #3045B9 #B93089
split-complementary
#B9A430 #3089B9 #5F30B9
monochromatic
#584E17 #887923 #B9A430 #D3BF54 #DFD184

Accessibility & contrast

On white

2.50
#B9A430 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#B9A430 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A430
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A430#FFFFFF#000000##000000
##B9A4301.002.508.428.42
#FFFFFF2.501.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A01C
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#C8988D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b9a430;
/* rgb */ color: rgb(185, 164, 48);
/* oklch */ color: oklch(71.7% 0.132 98.6);
Tailwind
colors: {
  custom: {
    50: '#d2be71',
    500: '#b9a430',
    950: '#000000',
  },
}
SCSS
$custom: #b9a430;
$custom-light: #d2be71;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a430",
  "rgb": {
    "r": 185,
    "g": 164,
    "b": 48
  },
  "hsl": {
    "h": 50.803,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71678,
    "c": 0.13226,
    "h": 98.6
  },
  "luminance": 0.37079
}

Semantic roles & 50–950 ramp

primary
#B9A430
secondary
#7C88C9
accent
#5EE246
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9A430

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

Preview Lab → · Contrast checker → · Palette generator →

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