#B09E40#B09E40

#B09E40 is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.7% C 0.116 H 98.5°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#B09E40
RGBrgb(176, 158, 64)
HSLhsl(50, 47%, 47%)
HSVhsv(50, 64%, 69%)
CMYKcmyk(0%, 10.2%, 63.6%, 31%)
CIE-LABlab(65.01, -4.78, 50.08)
CIE-LCHlch(65.01, 50.30, 95.45°)
OKLaboklab(69.67% -0.017 0.1143)
OKLCHoklch(69.67% 0.116 98.5)
XYZxyz(31.0581, 34.0554, 9.7869)
Luminance0.3405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B09E40 #4052B0
analogous
#B06640 #B09E40 #8AB040
triadic
#B09E40 #40B09E #9E40B0
tetradic
#B09E40 #40B066 #4052B0 #B0408A
square
#B09E40 #40B066 #4052B0 #B0408A
split-complementary
#B09E40 #408AB0 #6640B0
monochromatic
#564D1F #837630 #B09E40 #C7B866 #D8CD93

Accessibility & contrast

On white

2.69
#B09E40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#B09E40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B09E40
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B09E40#FFFFFF#000000##000000
##B09E401.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A35
Deuteranopia (green-blind)
#B1A145
Tritanopia (blue-blind)
#BD938A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b09e40;
/* rgb */ color: rgb(176, 158, 64);
/* oklch */ color: oklch(69.7% 0.116 98.5);
Tailwind
colors: {
  custom: {
    50: '#caba79',
    500: '#b09e40',
    950: '#000000',
  },
}
SCSS
$custom: #b09e40;
$custom-light: #caba79;
$custom-dark: #000000;
JSON
{
  "hex": "#b09e40",
  "rgb": {
    "r": 176,
    "g": 158,
    "b": 64
  },
  "hsl": {
    "h": 50.357,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.69672,
    "c": 0.11554,
    "h": 98.5
  },
  "luminance": 0.34054
}

Semantic roles & 50–950 ramp

primary
#B09E40
secondary
#8992C3
accent
#67D651
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141109
muted
#82807B

Preview Lab

Preview with #B09E40

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

Preview Lab → · Contrast checker → · Palette generator →

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