#7E7322#7E7322

#7E7322 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.0% C 0.100 H 101.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7E7322
RGBrgb(126, 115, 34)
HSLhsl(53, 58%, 31%)
HSVhsv(53, 73%, 49%)
CMYKcmyk(0%, 8.7%, 73%, 50.6%)
CIE-LABlab(48.02, -5.62, 44.08)
CIE-LCHlch(48.02, 44.44, 97.26°)
OKLaboklab(55% -0.0198 0.0981)
OKLCHoklch(55% 0.1 101.4)
XYZxyz(15.0243, 16.8132, 3.9670)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7322 #222D7E
analogous
#7E4522 #7E7322 #5B7E22
triadic
#7E7322 #227E73 #73227E
tetradic
#7E7322 #227E45 #222D7E #7E225B
square
#7E7322 #227E45 #222D7E #7E225B
split-complementary
#7E7322 #225B7E #45227E
monochromatic
#1E1B08 #4E4715 #7E7322 #AE9F2F #CFBF4C

Accessibility & contrast

On white

4.81
#7E7322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#7E7322 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7322
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7322#FFFFFF#000000##FFFFFF
##7E73221.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F16
Deuteranopia (green-blind)
#817427
Tritanopia (blue-blind)
#886B63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7e7322;
/* rgb */ color: rgb(126, 115, 34);
/* oklch */ color: oklch(55.0% 0.100 101.4);
Tailwind
colors: {
  custom: {
    50: '#a69b63',
    500: '#7e7322',
    950: '#000000',
  },
}
SCSS
$custom: #7e7322;
$custom-light: #a69b63;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7322",
  "rgb": {
    "r": 126,
    "g": 115,
    "b": 34
  },
  "hsl": {
    "h": 52.826,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55002,
    "c": 0.1001,
    "h": 101.4
  },
  "luminance": 0.16813
}

Semantic roles & 50–950 ramp

primary
#7E7322
secondary
#4B57B1
accent
#59E147
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7E7322

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

Preview Lab → · Contrast checker → · Palette generator →

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