#B79938#B79938

#B79938 is a light, moderate yellow. Relative luminance 0.331; OKLCH L 69.2% C 0.119 H 91.6°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#B79938
RGBrgb(183, 153, 56)
HSLhsl(46, 53%, 47%)
HSVhsv(46, 69%, 72%)
CMYKcmyk(0%, 16.4%, 69.4%, 28.2%)
CIE-LABlab(64.27, 0.51, 53.02)
CIE-LCHlch(64.27, 53.02, 89.45°)
OKLaboklab(69.23% -0.0032 0.119)
OKLCHoklch(69.23% 0.119 91.6)
XYZxyz(31.6351, 33.1371, 8.4704)
Luminance0.3313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79938 #3856B7
analogous
#B75A38 #B79938 #96B738
triadic
#B79938 #38B799 #9938B7
tetradic
#B79938 #38B75A #3856B7 #B73896
square
#B79938 #38B75A #3856B7 #B73896
split-complementary
#B79938 #3896B7 #5A38B7
monochromatic
#594B1B #88722A #B79938 #CEB45E #DCCA8D

Accessibility & contrast

On white

2.75
#B79938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#B79938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79938
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79938#FFFFFF#000000##000000
##B799381.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9972B
Deuteranopia (green-blind)
#B19F3D
Tritanopia (blue-blind)
#C68D85
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b79938;
/* rgb */ color: rgb(183, 153, 56);
/* oklch */ color: oklch(69.2% 0.119 91.6);
Tailwind
colors: {
  custom: {
    50: '#d0b674',
    500: '#b79938',
    950: '#000000',
  },
}
SCSS
$custom: #b79938;
$custom-light: #d0b674;
$custom-dark: #000000;
JSON
{
  "hex": "#b79938",
  "rgb": {
    "r": 183,
    "g": 153,
    "b": 56
  },
  "hsl": {
    "h": 45.827,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.69226,
    "c": 0.11904,
    "h": 91.6
  },
  "luminance": 0.33135
}

Semantic roles & 50–950 ramp

primary
#B79938
secondary
#8494C7
accent
#6EDD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B79938

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

Preview Lab → · Contrast checker → · Palette generator →

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