#B09728#B09728

#B09728 is a light, vivid yellow. Relative luminance 0.315; OKLCH L 68.0% C 0.127 H 95.7°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#B09728
RGBrgb(176, 151, 40)
HSLhsl(49, 63%, 42%)
HSVhsv(49, 77%, 69%)
CMYKcmyk(0%, 14.2%, 77.3%, 31%)
CIE-LABlab(62.94, -2.29, 57.76)
CIE-LCHlch(62.94, 57.81, 92.27°)
OKLaboklab(67.98% -0.0126 0.1263)
OKLCHoklch(67.98% 0.127 95.7)
XYZxyz(29.3557, 31.5182, 6.5445)
Luminance0.3152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B09728 #2841B0
analogous
#B05328 #B09728 #85B028
triadic
#B09728 #28B097 #9728B0
tetradic
#B09728 #28B053 #2841B0 #B02885
square
#B09728 #28B053 #2841B0 #B02885
split-complementary
#B09728 #2885B0 #5328B0
monochromatic
#4C4111 #7E6C1D #B09728 #D4B941 #DFCB73

Accessibility & contrast

On white

2.88
#B09728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#B09728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B09728
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B09728#FFFFFF#000000##000000
##B097281.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79411
Deuteranopia (green-blind)
#AE9C2F
Tritanopia (blue-blind)
#BE8B82
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b09728;
/* rgb */ color: rgb(176, 151, 40);
/* oklch */ color: oklch(68.0% 0.127 95.7);
Tailwind
colors: {
  custom: {
    50: '#ccb56b',
    500: '#b09728',
    950: '#000000',
  },
}
SCSS
$custom: #b09728;
$custom-light: #ccb56b;
$custom-dark: #000000;
JSON
{
  "hex": "#b09728",
  "rgb": {
    "r": 176,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 48.971,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67981,
    "c": 0.1269,
    "h": 95.7
  },
  "luminance": 0.31517
}

Semantic roles & 50–950 ramp

primary
#B09728
secondary
#6D7EC6
accent
#60E642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B09728

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

Preview Lab → · Contrast checker → · Palette generator →

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