#B09F2A#B09F2A

#B09F2A is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.7% C 0.132 H 100.6°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#B09F2A
RGBrgb(176, 159, 42)
HSLhsl(52, 61%, 43%)
HSVhsv(52, 76%, 69%)
CMYKcmyk(0%, 9.7%, 76.1%, 31%)
CIE-LABlab(65.12, -6.50, 59.09)
CIE-LCHlch(65.12, 59.44, 96.28°)
OKLaboklab(69.71% -0.0243 0.1295)
OKLCHoklch(69.71% 0.132 100.6)
XYZxyz(30.7220, 34.1950, 7.1721)
Luminance0.3419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B09F2A #2A3BB0
analogous
#B05C2A #B09F2A #7EB02A
triadic
#B09F2A #2AB09F #9F2AB0
tetradic
#B09F2A #2AB05C #2A3BB0 #B02A7E
square
#B09F2A #2AB05C #2A3BB0 #B02A7E
split-complementary
#B09F2A #2A7EB0 #5C2AB0
monochromatic
#4D4612 #7F721E #B09F2A #D3C145 #DED176

Accessibility & contrast

On white

2.68
#B09F2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#B09F2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B09F2A
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B09F2A#FFFFFF#000000##000000
##B09F2A1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A12
Deuteranopia (green-blind)
#B3A132
Tritanopia (blue-blind)
#BE9389
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b09f2a;
/* rgb */ color: rgb(176, 159, 42);
/* oklch */ color: oklch(69.7% 0.132 100.6);
Tailwind
colors: {
  custom: {
    50: '#cbbb6d',
    500: '#b09f2a',
    950: '#000000',
  },
}
SCSS
$custom: #b09f2a;
$custom-light: #cbbb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b09f2a",
  "rgb": {
    "r": 176,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 52.388,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69708,
    "c": 0.13175,
    "h": 100.6
  },
  "luminance": 0.34194
}

Semantic roles & 50–950 ramp

primary
#B09F2A
secondary
#707BC6
accent
#58E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B09F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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