#B09E31#B09E31

#B09E31 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.5% C 0.127 H 99.6°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#B09E31
RGBrgb(176, 158, 49)
HSLhsl(51, 56%, 44%)
HSVhsv(51, 72%, 69%)
CMYKcmyk(0%, 10.2%, 72.2%, 31%)
CIE-LABlab(64.89, -5.65, 56.28)
CIE-LCHlch(64.89, 56.56, 95.73°)
OKLaboklab(69.54% -0.0212 0.1249)
OKLCHoklch(69.54% 0.127 99.6)
XYZxyz(30.6872, 33.9070, 7.8334)
Luminance0.3391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B09E31 #3143B0
analogous
#B05F31 #B09E31 #83B031
triadic
#B09E31 #31B09E #9E31B0
tetradic
#B09E31 #31B05F #3143B0 #B03183
square
#B09E31 #31B05F #3143B0 #B03183
split-complementary
#B09E31 #3183B0 #5F31B0
monochromatic
#504816 #807324 #B09E31 #CEBC50 #DCCF80

Accessibility & contrast

On white

2.70
#B09E31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#B09E31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B09E31
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B09E31#FFFFFF#000000##000000
##B09E311.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A20
Deuteranopia (green-blind)
#B2A038
Tritanopia (blue-blind)
#BE9288
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b09e31;
/* rgb */ color: rgb(176, 158, 49);
/* oklch */ color: oklch(69.5% 0.127 99.6);
Tailwind
colors: {
  custom: {
    50: '#cbba70',
    500: '#b09e31',
    950: '#000000',
  },
}
SCSS
$custom: #b09e31;
$custom-light: #cbba70;
$custom-dark: #000000;
JSON
{
  "hex": "#b09e31",
  "rgb": {
    "r": 176,
    "g": 158,
    "b": 49
  },
  "hsl": {
    "h": 51.496,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69541,
    "c": 0.12667,
    "h": 99.6
  },
  "luminance": 0.33906
}

Semantic roles & 50–950 ramp

primary
#B09E31
secondary
#7883C5
accent
#5EE048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #B09E31

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

Preview Lab → · Contrast checker → · Palette generator →

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