#7B7939#7B7939

#7B7939 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.4% C 0.086 H 107.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7B7939
RGBrgb(123, 121, 57)
HSLhsl(58, 37%, 35%)
HSVhsv(58, 54%, 48%)
CMYKcmyk(0%, 1.6%, 53.7%, 51.8%)
CIE-LABlab(49.72, -8.66, 34.94)
CIE-LCHlch(49.72, 35.99, 103.91°)
OKLaboklab(56.35% -0.0255 0.0822)
OKLCHoklch(56.35% 0.086 107.2)
XYZxyz(15.7447, 18.1815, 6.5501)
Luminance0.1818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7939 #393B7B
analogous
#7B5839 #7B7939 #5C7B39
triadic
#7B7939 #397B79 #79397B
tetradic
#7B7939 #397B58 #393B7B #7B395C
square
#7B7939 #397B58 #393B7B #7B395C
split-complementary
#7B7939 #395C7B #58397B
monochromatic
#272712 #515026 #7B7939 #A5A24C #BDBB71

Accessibility & contrast

On white

4.53
#7B7939 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7B7939 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7939
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7939#FFFFFF#000000##000000
##7B79391.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#827533
Deuteranopia (green-blind)
#83773C
Tritanopia (blue-blind)
#83726A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b7939;
/* rgb */ color: rgb(123, 121, 57);
/* oklch */ color: oklch(56.4% 0.086 107.2);
Tailwind
colors: {
  custom: {
    50: '#a39f71',
    500: '#7b7939',
    950: '#000000',
  },
}
SCSS
$custom: #7b7939;
$custom-light: #a39f71;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7939",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 57
  },
  "hsl": {
    "h": 58.182,
    "s": 36.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56351,
    "c": 0.08604,
    "h": 107.2
  },
  "luminance": 0.18181
}

Semantic roles & 50–950 ramp

primary
#7B7939
secondary
#696BA6
accent
#5FCD5B
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E08
muted
#7F7E7B

Preview Lab

Preview with #7B7939

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

Preview Lab → · Contrast checker → · Palette generator →

#7B7939 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva