#7A702E#7A702E

#7A702E is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.0% C 0.087 H 100.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7A702E
RGBrgb(122, 112, 46)
HSLhsl(52, 45%, 33%)
HSVhsv(52, 62%, 48%)
CMYKcmyk(0%, 8.2%, 62.3%, 52.2%)
CIE-LABlab(46.87, -4.99, 37.25)
CIE-LCHlch(46.87, 37.58, 97.63°)
OKLaboklab(54.03% -0.0163 0.0858)
OKLCHoklch(54.03% 0.087 100.8)
XYZxyz(14.3139, 15.9237, 4.9038)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A702E #2E387A
analogous
#7A4A2E #7A702E #5E7A2E
triadic
#7A702E #2E7A70 #702E7A
tetradic
#7A702E #2E7A4A #2E387A #7A2E5E
square
#7A702E #2E7A4A #2E387A #7A2E5E
split-complementary
#7A702E #2E5E7A #4A2E7A
monochromatic
#211E0C #4E471D #7A702E #A6993F #C3B660

Accessibility & contrast

On white

5.02
#7A702E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7A702E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A702E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A702E#FFFFFF#000000##FFFFFF
##7A702E1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D27
Deuteranopia (green-blind)
#7D7131
Tritanopia (blue-blind)
#836862
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a702e;
/* rgb */ color: rgb(122, 112, 46);
/* oklch */ color: oklch(54.0% 0.087 100.8);
Tailwind
colors: {
  custom: {
    50: '#a39869',
    500: '#7a702e',
    950: '#000000',
  },
}
SCSS
$custom: #7a702e;
$custom-light: #a39869;
$custom-dark: #000000;
JSON
{
  "hex": "#7a702e",
  "rgb": {
    "r": 122,
    "g": 112,
    "b": 46
  },
  "hsl": {
    "h": 52.105,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54031,
    "c": 0.08733,
    "h": 100.8
  },
  "luminance": 0.15923
}

Semantic roles & 50–950 ramp

primary
#7A702E
secondary
#5A65AA
accent
#64D553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #7A702E

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

Preview Lab → · Contrast checker → · Palette generator →

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