#B09B28#B09B28

#B09B28 is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.8% C 0.130 H 98.3°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#B09B28
RGBrgb(176, 155, 40)
HSLhsl(51, 63%, 42%)
HSVhsv(51, 77%, 69%)
CMYKcmyk(0%, 11.9%, 77.3%, 31%)
CIE-LABlab(64.02, -4.45, 58.76)
CIE-LCHlch(64.02, 58.93, 94.33°)
OKLaboklab(68.84% -0.0187 0.1284)
OKLCHoklch(68.84% 0.13 98.3)
XYZxyz(30.0104, 32.8275, 6.7627)
Luminance0.3283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B09B28 #283DB0
analogous
#B05728 #B09B28 #81B028
triadic
#B09B28 #28B09B #9B28B0
tetradic
#B09B28 #28B057 #283DB0 #B02881
square
#B09B28 #28B057 #283DB0 #B02881
split-complementary
#B09B28 #2881B0 #5728B0
monochromatic
#4C4311 #7E6F1D #B09B28 #D4BD41 #DFCF73

Accessibility & contrast

On white

2.78
#B09B28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#B09B28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B09B28
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B09B28#FFFFFF#000000##000000
##B09B281.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB970F
Deuteranopia (green-blind)
#B09E30
Tritanopia (blue-blind)
#BE8F85
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b09b28;
/* rgb */ color: rgb(176, 155, 40);
/* oklch */ color: oklch(68.8% 0.130 98.3);
Tailwind
colors: {
  custom: {
    50: '#ccb86b',
    500: '#b09b28',
    950: '#000000',
  },
}
SCSS
$custom: #b09b28;
$custom-light: #ccb86b;
$custom-dark: #000000;
JSON
{
  "hex": "#b09b28",
  "rgb": {
    "r": 176,
    "g": 155,
    "b": 40
  },
  "hsl": {
    "h": 50.735,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68835,
    "c": 0.12976,
    "h": 98.3
  },
  "luminance": 0.32826
}

Semantic roles & 50–950 ramp

primary
#B09B28
secondary
#6D7BC6
accent
#5BE642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B09B28

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

Preview Lab → · Contrast checker → · Palette generator →

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