#B09840#B09840

#B09840 is a light, moderate yellow. Relative luminance 0.321; OKLCH L 68.4% C 0.111 H 94.0°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#B09840
RGBrgb(176, 152, 64)
HSLhsl(47, 47%, 47%)
HSVhsv(47, 64%, 69%)
CMYKcmyk(0%, 13.6%, 63.6%, 31%)
CIE-LABlab(63.39, -1.55, 48.32)
CIE-LCHlch(63.39, 48.34, 91.83°)
OKLaboklab(68.39% -0.0077 0.1106)
OKLCHoklch(68.39% 0.111 94)
XYZxyz(30.0595, 32.0583, 9.4540)
Luminance0.3206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B09840 #4058B0
analogous
#B06040 #B09840 #90B040
triadic
#B09840 #40B098 #9840B0
tetradic
#B09840 #40B060 #4058B0 #B04090
square
#B09840 #40B060 #4058B0 #B04090
split-complementary
#B09840 #4090B0 #6040B0
monochromatic
#564A1F #837130 #B09840 #C7B266 #D8C993

Accessibility & contrast

On white

2.83
#B09840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#B09840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B09840
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B09840#FFFFFF#000000##000000
##B098401.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79536
Deuteranopia (green-blind)
#AD9D44
Tritanopia (blue-blind)
#BD8D85
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b09840;
/* rgb */ color: rgb(176, 152, 64);
/* oklch */ color: oklch(68.4% 0.111 94.0);
Tailwind
colors: {
  custom: {
    50: '#cbb679',
    500: '#b09840',
    950: '#000000',
  },
}
SCSS
$custom: #b09840;
$custom-light: #cbb679;
$custom-dark: #000000;
JSON
{
  "hex": "#b09840",
  "rgb": {
    "r": 176,
    "g": 152,
    "b": 64
  },
  "hsl": {
    "h": 47.143,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.68393,
    "c": 0.11082,
    "h": 94
  },
  "luminance": 0.32057
}

Semantic roles & 50–950 ramp

primary
#B09840
secondary
#8995C3
accent
#6ED651
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #B09840

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

Preview Lab → · Contrast checker → · Palette generator →

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