#7A7B1D#7A7B1D

#7A7B1D is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.5% C 0.112 H 110.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7A7B1D
RGBrgb(122, 123, 29)
HSLhsl(61, 62%, 30%)
HSVhsv(61, 76%, 48%)
CMYKcmyk(0.8%, 0%, 76.4%, 51.8%)
CIE-LABlab(49.97, -12.17, 47.79)
CIE-LCHlch(49.97, 49.31, 104.29°)
OKLaboklab(56.45% -0.0385 0.1051)
OKLCHoklch(56.45% 0.112 110.1)
XYZxyz(15.3313, 18.3926, 3.9047)
Luminance0.1839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7B1D #1E1D7B
analogous
#7B4D1D #7A7B1D #4B7B1D
triadic
#7A7B1D #1D7A7B #7B1D7A
tetradic
#7A7B1D #1D7B4D #1E1D7B #7B1D4B
square
#7A7B1D #1D7B4D #1E1D7B #7B1D4B
split-complementary
#7A7B1D #1D4B7B #4D1D7B
monochromatic
#191906 #494911 #7A7B1D #ABAD29 #D1D240

Accessibility & contrast

On white

4.49
#7A7B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7A7B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7B1D
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7B1D#FFFFFF#000000##000000
##7A7B1D1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#857509
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#837369
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a7b1d;
/* rgb */ color: rgb(122, 123, 29);
/* oklch */ color: oklch(56.5% 0.112 110.1);
Tailwind
colors: {
  custom: {
    50: '#a4a161',
    500: '#7a7b1d',
    950: '#000000',
  },
}
SCSS
$custom: #7a7b1d;
$custom-light: #a4a161;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7b1d",
  "rgb": {
    "r": 122,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 60.638,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56452,
    "c": 0.11198,
    "h": 110.1
  },
  "luminance": 0.18392
}

Semantic roles & 50–950 ramp

primary
#7A7B1D
secondary
#4645AF
accent
#43E545
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7A7B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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