#7A7E2F#7A7E2F

#7A7E2F is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.3% C 0.102 H 111.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7A7E2F
RGBrgb(122, 126, 47)
HSLhsl(63, 46%, 34%)
HSVhsv(63, 63%, 49%)
CMYKcmyk(3.2%, 0%, 62.7%, 50.6%)
CIE-LABlab(51.00, -12.70, 41.29)
CIE-LCHlch(51.00, 43.20, 107.09°)
OKLaboklab(57.32% -0.0381 0.0945)
OKLCHoklch(57.32% 0.102 111.9)
XYZxyz(16.0004, 19.2649, 5.5644)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7E2F #332F7E
analogous
#7E5B2F #7A7E2F #537E2F
triadic
#7A7E2F #2F7A7E #7E2F7A
tetradic
#7A7E2F #2F7E5B #332F7E #7E2F53
square
#7A7E2F #2F7E5B #332F7E #7E2F53
split-complementary
#7A7E2F #2F537E #5B2F7E
monochromatic
#24250E #4F511E #7A7E2F #A5AB40 #C0C563

Accessibility & contrast

On white

4.33
#7A7E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#7A7E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7E2F
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7E2F#FFFFFF#000000##000000
##7A7E2F1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877826
Deuteranopia (green-blind)
#887A34
Tritanopia (blue-blind)
#82776D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7a7e2f;
/* rgb */ color: rgb(122, 126, 47);
/* oklch */ color: oklch(57.3% 0.102 111.9);
Tailwind
colors: {
  custom: {
    50: '#a3a36b',
    500: '#7a7e2f',
    950: '#000000',
  },
}
SCSS
$custom: #7a7e2f;
$custom-light: #a3a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7e2f",
  "rgb": {
    "r": 122,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 63.038,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57317,
    "c": 0.10191,
    "h": 111.9
  },
  "luminance": 0.19265
}

Semantic roles & 50–950 ramp

primary
#7A7E2F
secondary
#615DAC
accent
#52D559
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #7A7E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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