#7A7F1D#7A7F1D

#7A7F1D 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#7A7F1D
RGBrgb(122, 127, 29)
HSLhsl(63, 63%, 31%)
HSVhsv(63, 77%, 50%)
CMYKcmyk(3.9%, 0%, 77.2%, 50.2%)
CIE-LABlab(51.16, -14.33, 48.90)
CIE-LCHlch(51.16, 50.96, 106.34°)
OKLaboklab(57.4% -0.0445 0.1075)
OKLCHoklch(57.4% 0.116 112.5)
XYZxyz(15.8377, 19.4054, 4.0735)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7F1D #221D7F
analogous
#7F531D #7A7F1D #497F1D
triadic
#7A7F1D #1D7A7F #7F1D7A
tetradic
#7A7F1D #1D7F53 #221D7F #7F1D49
square
#7A7F1D #1D7F53 #221D7F #7F1D49
split-complementary
#7A7F1D #1D497F #531D7F
monochromatic
#1A1B06 #4A4D12 #7A7F1D #AAB128 #CDD442

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A7F1D#FFFFFF#000000##000000
##7A7F1D1.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)
#897906
Deuteranopia (green-blind)
#897B25
Tritanopia (blue-blind)
#83776C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7a7f1d;
/* rgb */ color: rgb(122, 127, 29);
/* oklch */ color: oklch(57.4% 0.116 112.5);
Tailwind
colors: {
  custom: {
    50: '#a4a362',
    500: '#7a7f1d',
    950: '#000000',
  },
}
SCSS
$custom: #7a7f1d;
$custom-light: #a4a362;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7f1d",
  "rgb": {
    "r": 122,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 63.061,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57403,
    "c": 0.11637,
    "h": 112.5
  },
  "luminance": 0.19405
}

Semantic roles & 50–950 ramp

primary
#7A7F1D
secondary
#4B45B2
accent
#42E64A
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7A7F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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