#B09F28#B09F28

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

Color values

HEX#B09F28
RGBrgb(176, 159, 40)
HSLhsl(53, 63%, 42%)
HSVhsv(53, 77%, 69%)
CMYKcmyk(0%, 9.7%, 77.3%, 31%)
CIE-LABlab(65.11, -6.58, 59.76)
CIE-LCHlch(65.11, 60.12, 96.29°)
OKLaboklab(69.7% -0.0248 0.1305)
OKLCHoklch(69.7% 0.133 100.7)
XYZxyz(30.6871, 34.1810, 6.9883)
Luminance0.3418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B09F28 #2839B0
analogous
#B05B28 #B09F28 #7DB028
triadic
#B09F28 #28B09F #9F28B0
tetradic
#B09F28 #28B05B #2839B0 #B0287D
square
#B09F28 #28B05B #2839B0 #B0287D
split-complementary
#B09F28 #287DB0 #5B28B0
monochromatic
#4C4511 #7E721D #B09F28 #D4C241 #DFD273

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B09F28#FFFFFF#000000##000000
##B09F281.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)
#AF9A0D
Deuteranopia (green-blind)
#B3A131
Tritanopia (blue-blind)
#BE9389
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b09f28;
/* rgb */ color: rgb(176, 159, 40);
/* oklch */ color: oklch(69.7% 0.133 100.7);
Tailwind
colors: {
  custom: {
    50: '#ccbb6c',
    500: '#b09f28',
    950: '#000000',
  },
}
SCSS
$custom: #b09f28;
$custom-light: #ccbb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b09f28",
  "rgb": {
    "r": 176,
    "g": 159,
    "b": 40
  },
  "hsl": {
    "h": 52.5,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69696,
    "c": 0.13286,
    "h": 100.7
  },
  "luminance": 0.3418
}

Semantic roles & 50–950 ramp

primary
#B09F28
secondary
#6D78C6
accent
#56E642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B09F28

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

Preview Lab → · Contrast checker → · Palette generator →

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