#7A7331#7A7331

#7A7331 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.8% C 0.088 H 103.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7A7331
RGBrgb(122, 115, 49)
HSLhsl(54, 43%, 34%)
HSVhsv(54, 60%, 48%)
CMYKcmyk(0%, 5.7%, 59.8%, 52.2%)
CIE-LABlab(47.78, -6.45, 36.76)
CIE-LCHlch(47.78, 37.33, 99.95°)
OKLaboklab(54.76% -0.0201 0.0852)
OKLCHoklch(54.76% 0.088 103.3)
XYZxyz(14.7116, 16.6213, 5.3384)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7331 #31387A
analogous
#7A4E31 #7A7331 #5C7A31
triadic
#7A7331 #317A73 #73317A
tetradic
#7A7331 #317A4E #31387A #7A315C
square
#7A7331 #317A4E #31387A #7A315C
split-complementary
#7A7331 #315C7A #4E317A
monochromatic
#23210E #4E4A1F #7A7331 #A69C43 #C1B864

Accessibility & contrast

On white

4.86
#7A7331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7A7331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7331
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7331#FFFFFF#000000##FFFFFF
##7A73311.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F2A
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#836C65
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7a7331;
/* rgb */ color: rgb(122, 115, 49);
/* oklch */ color: oklch(54.8% 0.088 103.3);
Tailwind
colors: {
  custom: {
    50: '#a29b6c',
    500: '#7a7331',
    950: '#000000',
  },
}
SCSS
$custom: #7a7331;
$custom-light: #a29b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7331",
  "rgb": {
    "r": 122,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 54.247,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5476,
    "c": 0.08752,
    "h": 103.3
  },
  "luminance": 0.16621
}

Semantic roles & 50–950 ramp

primary
#7A7331
secondary
#5E66A8
accent
#61D255
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7A7331

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

Preview Lab → · Contrast checker → · Palette generator →

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