#B29727#B29727

#B29727 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 68.2% C 0.128 H 94.7°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#B29727
RGBrgb(178, 151, 39)
HSLhsl(48, 64%, 43%)
HSVhsv(48, 78%, 70%)
CMYKcmyk(0%, 15.2%, 78.1%, 30.2%)
CIE-LABlab(63.13, -1.44, 58.36)
CIE-LCHlch(63.13, 58.38, 91.41°)
OKLaboklab(68.18% -0.0104 0.1272)
OKLCHoklch(68.18% 0.128 94.7)
XYZxyz(29.7946, 31.7464, 6.4774)
Luminance0.3175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29727 #2742B2
analogous
#B25127 #B29727 #88B227
triadic
#B29727 #27B297 #9727B2
tetradic
#B29727 #27B251 #2742B2 #B22788
square
#B29727 #27B251 #2742B2 #B22788
split-complementary
#B29727 #2788B2 #5127B2
monochromatic
#4E4211 #806C1C #B29727 #D5B841 #E0CB73

Accessibility & contrast

On white

2.86
#B29727 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#B29727 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29727
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29727#FFFFFF#000000##000000
##B297271.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8940F
Deuteranopia (green-blind)
#AE9C2E
Tritanopia (blue-blind)
#C18A82
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b29727;
/* rgb */ color: rgb(178, 151, 39);
/* oklch */ color: oklch(68.2% 0.128 94.7);
Tailwind
colors: {
  custom: {
    50: '#cdb56b',
    500: '#b29727',
    950: '#000000',
  },
}
SCSS
$custom: #b29727;
$custom-light: #cdb56b;
$custom-dark: #000000;
JSON
{
  "hex": "#b29727",
  "rgb": {
    "r": 178,
    "g": 151,
    "b": 39
  },
  "hsl": {
    "h": 48.345,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68175,
    "c": 0.12766,
    "h": 94.7
  },
  "luminance": 0.31745
}

Semantic roles & 50–950 ramp

primary
#B29727
secondary
#6D7FC8
accent
#61E741
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B29727

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

Preview Lab → · Contrast checker → · Palette generator →

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