#7A7239#7A7239

#7A7239 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.6% C 0.078 H 101.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7A7239
RGBrgb(122, 114, 57)
HSLhsl(53, 36%, 35%)
HSVhsv(53, 53%, 48%)
CMYKcmyk(0%, 6.6%, 53.3%, 52.2%)
CIE-LABlab(47.58, -5.18, 32.39)
CIE-LCHlch(47.58, 32.80, 99.08°)
OKLaboklab(54.63% -0.0155 0.0766)
OKLCHoklch(54.63% 0.078 101.4)
XYZxyz(14.7823, 16.4681, 6.2701)
Luminance0.1647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7239 #39417A
analogous
#7A5139 #7A7239 #627A39
triadic
#7A7239 #397A72 #72397A
tetradic
#7A7239 #397A51 #39417A #7A3962
square
#7A7239 #397A51 #39417A #7A3962
split-complementary
#7A7239 #39627A #51397A
monochromatic
#272412 #504B26 #7A7239 #A4994C #BDB371

Accessibility & contrast

On white

4.89
#7A7239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7A7239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7239
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7239#FFFFFF#000000##FFFFFF
##7A72391.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F34
Deuteranopia (green-blind)
#7E723C
Tritanopia (blue-blind)
#826B65
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7a7239;
/* rgb */ color: rgb(122, 114, 57);
/* oklch */ color: oklch(54.6% 0.078 101.4);
Tailwind
colors: {
  custom: {
    50: '#a29a71',
    500: '#7a7239',
    950: '#000000',
  },
}
SCSS
$custom: #7a7239;
$custom-light: #a29a71;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7239",
  "rgb": {
    "r": 122,
    "g": 114,
    "b": 57
  },
  "hsl": {
    "h": 52.615,
    "s": 36.313,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54634,
    "c": 0.07818,
    "h": 101.4
  },
  "luminance": 0.16468
}

Semantic roles & 50–950 ramp

primary
#7A7239
secondary
#6970A6
accent
#69CC5B
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E08
muted
#7F7E7B

Preview Lab

Preview with #7A7239

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

Preview Lab → · Contrast checker → · Palette generator →

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