#B39E2C#B39E2C

#B39E2C is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.8% C 0.130 H 98.3°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#B39E2C
RGBrgb(179, 158, 44)
HSLhsl(51, 61%, 44%)
HSVhsv(51, 75%, 70%)
CMYKcmyk(0%, 11.7%, 75.4%, 29.8%)
CIE-LABlab(65.14, -4.55, 58.49)
CIE-LCHlch(65.14, 58.67, 94.45°)
OKLaboklab(69.79% -0.0188 0.1285)
OKLCHoklch(69.79% 0.13 98.3)
XYZxyz(31.2735, 34.2209, 7.3404)
Luminance0.3422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39E2C #2C41B3
analogous
#B35A2C #B39E2C #84B32C
triadic
#B39E2C #2CB39E #9E2CB3
tetradic
#B39E2C #2CB35A #2C41B3 #B32C84
square
#B39E2C #2CB35A #2C41B3 #B32C84
split-complementary
#B39E2C #2C84B3 #5A2CB3
monochromatic
#514714 #827320 #B39E2C #D2BD4A #DFCF7B

Accessibility & contrast

On white

2.68
#B39E2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#B39E2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39E2C
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39E2C#FFFFFF#000000##000000
##B39E2C1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A17
Deuteranopia (green-blind)
#B4A134
Tritanopia (blue-blind)
#C19288
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b39e2c;
/* rgb */ color: rgb(179, 158, 44);
/* oklch */ color: oklch(69.8% 0.130 98.3);
Tailwind
colors: {
  custom: {
    50: '#ceba6e',
    500: '#b39e2c',
    950: '#000000',
  },
}
SCSS
$custom: #b39e2c;
$custom-light: #ceba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b39e2c",
  "rgb": {
    "r": 179,
    "g": 158,
    "b": 44
  },
  "hsl": {
    "h": 50.667,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69794,
    "c": 0.12986,
    "h": 98.3
  },
  "luminance": 0.34219
}

Semantic roles & 50–950 ramp

primary
#B39E2C
secondary
#7481C7
accent
#5DE444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B39E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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