#7E7724#7E7724

#7E7724 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.9% C 0.102 H 104.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7E7724
RGBrgb(126, 119, 36)
HSLhsl(55, 56%, 32%)
HSVhsv(55, 71%, 49%)
CMYKcmyk(0%, 5.6%, 71.4%, 50.6%)
CIE-LABlab(49.20, -7.75, 44.42)
CIE-LCHlch(49.20, 45.09, 99.89°)
OKLaboklab(55.94% -0.0256 0.0992)
OKLCHoklch(55.94% 0.102 104.5)
XYZxyz(15.5201, 17.7572, 4.2787)
Luminance0.1776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7724 #242B7E
analogous
#7E4A24 #7E7724 #587E24
triadic
#7E7724 #247E77 #77247E
tetradic
#7E7724 #247E4A #242B7E #7E2458
square
#7E7724 #247E4A #242B7E #7E2458
split-complementary
#7E7724 #24587E #4A247E
monochromatic
#1F1D09 #4E4A16 #7E7724 #AEA432 #CDC350

Accessibility & contrast

On white

4.61
#7E7724 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7E7724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7724
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7724#FFFFFF#000000##FFFFFF
##7E77241.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827318
Deuteranopia (green-blind)
#847729
Tritanopia (blue-blind)
#886F66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e7724;
/* rgb */ color: rgb(126, 119, 36);
/* oklch */ color: oklch(55.9% 0.102 104.5);
Tailwind
colors: {
  custom: {
    50: '#a69e64',
    500: '#7e7724',
    950: '#000000',
  },
}
SCSS
$custom: #7e7724;
$custom-light: #a69e64;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7724",
  "rgb": {
    "r": 126,
    "g": 119,
    "b": 36
  },
  "hsl": {
    "h": 55.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55941,
    "c": 0.10246,
    "h": 104.5
  },
  "luminance": 0.17757
}

Semantic roles & 50–950 ramp

primary
#7E7724
secondary
#4E55B0
accent
#55DF49
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7E7724

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

Preview Lab → · Contrast checker → · Palette generator →

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