#7B731E#7B731E

#7B731E is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.7% C 0.103 H 103.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7B731E
RGBrgb(123, 115, 30)
HSLhsl(55, 61%, 30%)
HSVhsv(55, 76%, 48%)
CMYKcmyk(0%, 6.5%, 75.6%, 51.8%)
CIE-LABlab(47.71, -7.24, 45.30)
CIE-LCHlch(47.71, 45.87, 99.08°)
OKLaboklab(54.67% -0.0246 0.1)
OKLCHoklch(54.67% 0.103 103.8)
XYZxyz(14.5341, 16.5668, 3.6602)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B731E #1E267B
analogous
#7B451E #7B731E #547B1E
triadic
#7B731E #1E7B73 #731E7B
tetradic
#7B731E #1E7B45 #1E267B #7B1E54
square
#7B731E #1E7B45 #1E267B #7B1E54
split-complementary
#7B731E #1E547B #451E7B
monochromatic
#191706 #4A4512 #7B731E #ACA12A #D1C542

Accessibility & contrast

On white

4.87
#7B731E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7B731E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B731E
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B731E#FFFFFF#000000##FFFFFF
##7B731E1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0F
Deuteranopia (green-blind)
#807324
Tritanopia (blue-blind)
#856B62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b731e;
/* rgb */ color: rgb(123, 115, 30);
/* oklch */ color: oklch(54.7% 0.103 103.8);
Tailwind
colors: {
  custom: {
    50: '#a49b60',
    500: '#7b731e',
    950: '#000000',
  },
}
SCSS
$custom: #7b731e;
$custom-light: #a49b60;
$custom-dark: #000000;
JSON
{
  "hex": "#7b731e",
  "rgb": {
    "r": 123,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 54.839,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.54674,
    "c": 0.10301,
    "h": 103.8
  },
  "luminance": 0.16566
}

Semantic roles & 50–950 ramp

primary
#7B731E
secondary
#464FAE
accent
#52E444
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B731E

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

Preview Lab → · Contrast checker → · Palette generator →

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