#B09D28#B09D28

#B09D28 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.3% C 0.131 H 99.5°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#B09D28
RGBrgb(176, 157, 40)
HSLhsl(52, 63%, 42%)
HSVhsv(52, 77%, 69%)
CMYKcmyk(0%, 10.8%, 77.3%, 31%)
CIE-LABlab(64.56, -5.52, 59.26)
CIE-LCHlch(64.56, 59.52, 95.32°)
OKLaboklab(69.27% -0.0217 0.1295)
OKLCHoklch(69.27% 0.131 99.5)
XYZxyz(30.3460, 33.4987, 6.8746)
Luminance0.3350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B09D28 #283BB0
analogous
#B05928 #B09D28 #7FB028
triadic
#B09D28 #28B09D #9D28B0
tetradic
#B09D28 #28B059 #283BB0 #B0287F
square
#B09D28 #28B059 #283BB0 #B0287F
split-complementary
#B09D28 #287FB0 #5928B0
monochromatic
#4C4411 #7E711D #B09D28 #D4BF41 #DFD073

Accessibility & contrast

On white

2.73
#B09D28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#B09D28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B09D28
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B09D28#FFFFFF#000000##000000
##B09D281.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990E
Deuteranopia (green-blind)
#B2A030
Tritanopia (blue-blind)
#BE9187
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b09d28;
/* rgb */ color: rgb(176, 157, 40);
/* oklch */ color: oklch(69.3% 0.131 99.5);
Tailwind
colors: {
  custom: {
    50: '#ccb96c',
    500: '#b09d28',
    950: '#000000',
  },
}
SCSS
$custom: #b09d28;
$custom-light: #ccb96c;
$custom-dark: #000000;
JSON
{
  "hex": "#b09d28",
  "rgb": {
    "r": 176,
    "g": 157,
    "b": 40
  },
  "hsl": {
    "h": 51.618,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69265,
    "c": 0.13127,
    "h": 99.5
  },
  "luminance": 0.33497
}

Semantic roles & 50–950 ramp

primary
#B09D28
secondary
#6D7AC6
accent
#59E642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B09D28

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

Preview Lab → · Contrast checker → · Palette generator →

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