#B09E28#B09E28

#B09E28 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.5% C 0.132 H 100.1°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#B09E28
RGBrgb(176, 158, 40)
HSLhsl(52, 63%, 42%)
HSVhsv(52, 77%, 69%)
CMYKcmyk(0%, 10.2%, 77.3%, 31%)
CIE-LABlab(64.83, -6.05, 59.51)
CIE-LCHlch(64.83, 59.82, 95.81°)
OKLaboklab(69.48% -0.0233 0.13)
OKLCHoklch(69.48% 0.132 100.1)
XYZxyz(30.5159, 33.8385, 6.9312)
Luminance0.3384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B09E28 #283AB0
analogous
#B05A28 #B09E28 #7EB028
triadic
#B09E28 #28B09E #9E28B0
tetradic
#B09E28 #28B05A #283AB0 #B0287E
square
#B09E28 #28B05A #283AB0 #B0287E
split-complementary
#B09E28 #287EB0 #5A28B0
monochromatic
#4C4411 #7E711D #B09E28 #D4C041 #DFD173

Accessibility & contrast

On white

2.70
#B09E28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#B09E28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B09E28
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B09E28#FFFFFF#000000##000000
##B09E281.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE990D
Deuteranopia (green-blind)
#B3A030
Tritanopia (blue-blind)
#BE9288
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b09e28;
/* rgb */ color: rgb(176, 158, 40);
/* oklch */ color: oklch(69.5% 0.132 100.1);
Tailwind
colors: {
  custom: {
    50: '#ccba6c',
    500: '#b09e28',
    950: '#000000',
  },
}
SCSS
$custom: #b09e28;
$custom-light: #ccba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b09e28",
  "rgb": {
    "r": 176,
    "g": 158,
    "b": 40
  },
  "hsl": {
    "h": 52.059,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6948,
    "c": 0.13206,
    "h": 100.1
  },
  "luminance": 0.33837
}

Semantic roles & 50–950 ramp

primary
#B09E28
secondary
#6D79C6
accent
#58E642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B09E28

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

Preview Lab → · Contrast checker → · Palette generator →

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