#B39227#B39227

#B39227 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 67.2% C 0.125 H 90.7°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#B39227
RGBrgb(179, 146, 39)
HSLhsl(46, 64%, 43%)
HSVhsv(46, 78%, 70%)
CMYKcmyk(0%, 18.4%, 78.2%, 29.8%)
CIE-LABlab(61.90, 1.73, 57.27)
CIE-LCHlch(61.90, 57.29, 88.27°)
OKLaboklab(67.23% -0.0014 0.1249)
OKLCHoklch(67.23% 0.125 90.7)
XYZxyz(29.2372, 30.2898, 6.2256)
Luminance0.3029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39227 #2748B3
analogous
#B34C27 #B39227 #8EB327
triadic
#B39227 #27B392 #9227B3
tetradic
#B39227 #27B34C #2748B3 #B3278E
square
#B39227 #27B34C #2748B3 #B3278E
split-complementary
#B39227 #278EB3 #4C27B3
monochromatic
#4E4011 #81691C #B39227 #D6B341 #E1C774

Accessibility & contrast

On white

2.98
#B39227 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#B39227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39227
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39227#FFFFFF#000000##000000
##B392271.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39011
Deuteranopia (green-blind)
#AB992D
Tritanopia (blue-blind)
#C2857E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b39227;
/* rgb */ color: rgb(179, 146, 39);
/* oklch */ color: oklch(67.2% 0.125 90.7);
Tailwind
colors: {
  custom: {
    50: '#ceb16a',
    500: '#b39227',
    950: '#000000',
  },
}
SCSS
$custom: #b39227;
$custom-light: #ceb16a;
$custom-dark: #000000;
JSON
{
  "hex": "#b39227",
  "rgb": {
    "r": 179,
    "g": 146,
    "b": 39
  },
  "hsl": {
    "h": 45.857,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.67228,
    "c": 0.12486,
    "h": 90.7
  },
  "luminance": 0.30288
}

Semantic roles & 50–950 ramp

primary
#B39227
secondary
#6E83C8
accent
#68E741
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #B39227

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

Preview Lab → · Contrast checker → · Palette generator →

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