#B09D40#B09D40

#B09D40 is a light, moderate yellow. Relative luminance 0.337; OKLCH L 69.5% C 0.115 H 97.7°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#B09D40
RGBrgb(176, 157, 64)
HSLhsl(50, 47%, 47%)
HSVhsv(50, 64%, 69%)
CMYKcmyk(0%, 10.8%, 63.6%, 31%)
CIE-LABlab(64.74, -4.24, 49.78)
CIE-LCHlch(64.74, 49.96, 94.87°)
OKLaboklab(69.46% -0.0154 0.1137)
OKLCHoklch(69.46% 0.115 97.7)
XYZxyz(30.8882, 33.7156, 9.7303)
Luminance0.3371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B09D40 #4053B0
analogous
#B06540 #B09D40 #8BB040
triadic
#B09D40 #40B09D #9D40B0
tetradic
#B09D40 #40B065 #4053B0 #B0408B
square
#B09D40 #40B065 #4053B0 #B0408B
split-complementary
#B09D40 #408BB0 #6540B0
monochromatic
#564D1F #837530 #B09D40 #C7B766 #D8CC93

Accessibility & contrast

On white

2.71
#B09D40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#B09D40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B09D40
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B09D40#FFFFFF#000000##000000
##B09D401.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9935
Deuteranopia (green-blind)
#B1A045
Tritanopia (blue-blind)
#BD9289
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b09d40;
/* rgb */ color: rgb(176, 157, 64);
/* oklch */ color: oklch(69.5% 0.115 97.7);
Tailwind
colors: {
  custom: {
    50: '#cab979',
    500: '#b09d40',
    950: '#000000',
  },
}
SCSS
$custom: #b09d40;
$custom-light: #cab979;
$custom-dark: #000000;
JSON
{
  "hex": "#b09d40",
  "rgb": {
    "r": 176,
    "g": 157,
    "b": 64
  },
  "hsl": {
    "h": 49.821,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.69458,
    "c": 0.11471,
    "h": 97.7
  },
  "luminance": 0.33714
}

Semantic roles & 50–950 ramp

primary
#B09D40
secondary
#8993C3
accent
#68D651
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141109
muted
#82807B

Preview Lab

Preview with #B09D40

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

Preview Lab → · Contrast checker → · Palette generator →

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