#B09727#B09727

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

Color values

HEX#B09727
RGBrgb(176, 151, 39)
HSLhsl(49, 64%, 42%)
HSVhsv(49, 78%, 69%)
CMYKcmyk(0%, 14.2%, 77.8%, 31%)
CIE-LABlab(62.94, -2.33, 58.11)
CIE-LCHlch(62.94, 58.16, 92.30°)
OKLaboklab(67.97% -0.0128 0.1268)
OKLCHoklch(67.97% 0.127 95.8)
XYZxyz(29.3389, 31.5114, 6.4560)
Luminance0.3151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B09727 #2740B0
analogous
#B05327 #B09727 #85B027
triadic
#B09727 #27B097 #9727B0
tetradic
#B09727 #27B053 #2740B0 #B02785
square
#B09727 #27B053 #2740B0 #B02785
split-complementary
#B09727 #2785B0 #5327B0
monochromatic
#4C4111 #7E6C1C #B09727 #D5B940 #E0CC72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B09727#FFFFFF#000000##000000
##B097271.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)
#A7940F
Deuteranopia (green-blind)
#AE9C2E
Tritanopia (blue-blind)
#BE8B82
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b09727;
/* rgb */ color: rgb(176, 151, 39);
/* oklch */ color: oklch(68.0% 0.127 95.8);
Tailwind
colors: {
  custom: {
    50: '#ccb56a',
    500: '#b09727',
    950: '#000000',
  },
}
SCSS
$custom: #b09727;
$custom-light: #ccb56a;
$custom-dark: #000000;
JSON
{
  "hex": "#b09727",
  "rgb": {
    "r": 176,
    "g": 151,
    "b": 39
  },
  "hsl": {
    "h": 49.051,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67975,
    "c": 0.12745,
    "h": 95.8
  },
  "luminance": 0.3151
}

Semantic roles & 50–950 ramp

primary
#B09727
secondary
#6C7DC7
accent
#5FE741
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B09727

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

Preview Lab → · Contrast checker → · Palette generator →

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