#7A7D1B#7A7D1B

#7A7D1B is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.9% C 0.115 H 111.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7A7D1B
RGBrgb(122, 125, 27)
HSLhsl(62, 64%, 30%)
HSVhsv(62, 78%, 49%)
CMYKcmyk(2.4%, 0%, 78.4%, 51%)
CIE-LABlab(50.55, -13.35, 49.03)
CIE-LCHlch(50.55, 50.82, 105.23°)
OKLaboklab(56.91% -0.042 0.1074)
OKLCHoklch(56.91% 0.115 111.4)
XYZxyz(15.5580, 18.8843, 3.8622)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7D1B #1E1B7D
analogous
#7D4F1B #7A7D1B #497D1B
triadic
#7A7D1B #1B7A7D #7D1B7A
tetradic
#7A7D1B #1B7D4F #1E1B7D #7D1B49
square
#7A7D1B #1B7D4F #1E1B7D #7D1B49
split-complementary
#7A7D1B #1B497D #4F1B7D
monochromatic
#191905 #494B10 #7A7D1B #ABAF26 #D0D53D

Accessibility & contrast

On white

4.40
#7A7D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7A7D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7D1B
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7D1B#FFFFFF#000000##000000
##7A7D1B1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877703
Deuteranopia (green-blind)
#887A23
Tritanopia (blue-blind)
#83756B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a7d1b;
/* rgb */ color: rgb(122, 125, 27);
/* oklch */ color: oklch(56.9% 0.115 111.4);
Tailwind
colors: {
  custom: {
    50: '#a4a260',
    500: '#7a7d1b',
    950: '#000000',
  },
}
SCSS
$custom: #7a7d1b;
$custom-light: #a4a260;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7d1b",
  "rgb": {
    "r": 122,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 61.837,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56914,
    "c": 0.11531,
    "h": 111.4
  },
  "luminance": 0.18884
}

Semantic roles & 50–950 ramp

primary
#7A7D1B
secondary
#4643B1
accent
#40E745
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7A7D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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