#7E7622#7E7622

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

Color values

HEX#7E7622
RGBrgb(126, 118, 34)
HSLhsl(55, 58%, 31%)
HSVhsv(55, 73%, 49%)
CMYKcmyk(0%, 6.3%, 73%, 50.6%)
CIE-LABlab(48.89, -7.30, 44.95)
CIE-LCHlch(48.89, 45.53, 99.23°)
OKLaboklab(55.69% -0.0246 0.1)
OKLCHoklch(55.69% 0.103 103.8)
XYZxyz(15.3720, 17.5086, 4.0828)
Luminance0.1751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7622 #222A7E
analogous
#7E4822 #7E7622 #587E22
triadic
#7E7622 #227E76 #76227E
tetradic
#7E7622 #227E48 #222A7E #7E2258
square
#7E7622 #227E48 #222A7E #7E2258
split-complementary
#7E7622 #22587E #48227E
monochromatic
#1E1C08 #4E4915 #7E7622 #AEA32F #CFC34C

Accessibility & contrast

On white

4.67
#7E7622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7E7622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7622
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7622#FFFFFF#000000##FFFFFF
##7E76221.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817215
Deuteranopia (green-blind)
#847628
Tritanopia (blue-blind)
#886E65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e7622;
/* rgb */ color: rgb(126, 118, 34);
/* oklch */ color: oklch(55.7% 0.103 103.8);
Tailwind
colors: {
  custom: {
    50: '#a69d63',
    500: '#7e7622',
    950: '#000000',
  },
}
SCSS
$custom: #7e7622;
$custom-light: #a69d63;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7622",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 34
  },
  "hsl": {
    "h": 54.783,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55694,
    "c": 0.10293,
    "h": 103.8
  },
  "luminance": 0.17508
}

Semantic roles & 50–950 ramp

primary
#7E7622
secondary
#4B54B1
accent
#54E147
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7E7622

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

Preview Lab → · Contrast checker → · Palette generator →

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