#7A7F1E#7A7F1E

#7A7F1E is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.4% C 0.116 H 112.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7A7F1E
RGBrgb(122, 127, 30)
HSLhsl(63, 62%, 31%)
HSVhsv(63, 76%, 50%)
CMYKcmyk(3.9%, 0%, 76.4%, 50.2%)
CIE-LABlab(51.16, -14.29, 48.55)
CIE-LCHlch(51.16, 50.61, 106.40°)
OKLaboklab(57.41% -0.0443 0.107)
OKLCHoklch(57.41% 0.116 112.5)
XYZxyz(15.8503, 19.4104, 4.1397)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7F1E #231E7F
analogous
#7F531E #7A7F1E #497F1E
triadic
#7A7F1E #1E7A7F #7F1E7A
tetradic
#7A7F1E #1E7F53 #231E7F #7F1E49
square
#7A7F1E #1E7F53 #231E7F #7F1E49
split-complementary
#7A7F1E #1E497F #531E7F
monochromatic
#1B1C07 #4A4D12 #7A7F1E #AAB12A #CCD344

Accessibility & contrast

On white

4.30
#7A7F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#7A7F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7F1E
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7F1E#FFFFFF#000000##000000
##7A7F1E1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897909
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#83776D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7a7f1e;
/* rgb */ color: rgb(122, 127, 30);
/* oklch */ color: oklch(57.4% 0.116 112.5);
Tailwind
colors: {
  custom: {
    50: '#a3a362',
    500: '#7a7f1e',
    950: '#000000',
  },
}
SCSS
$custom: #7a7f1e;
$custom-light: #a3a362;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7f1e",
  "rgb": {
    "r": 122,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 63.093,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5741,
    "c": 0.11577,
    "h": 112.5
  },
  "luminance": 0.1941
}

Semantic roles & 50–950 ramp

primary
#7A7F1E
secondary
#4C47B2
accent
#43E54B
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7A7F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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