#7A7B1B#7A7B1B

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

Color values

HEX#7A7B1B
RGBrgb(122, 123, 27)
HSLhsl(61, 64%, 29%)
HSVhsv(61, 78%, 48%)
CMYKcmyk(0.8%, 0%, 78%, 51.8%)
CIE-LABlab(49.96, -12.26, 48.48)
CIE-LCHlch(49.96, 50.01, 104.20°)
OKLaboklab(56.44% -0.039 0.1062)
OKLCHoklch(56.44% 0.113 110.2)
XYZxyz(15.3074, 18.3831, 3.7786)
Luminance0.1838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7B1B #1C1B7B
analogous
#7B4C1B #7A7B1B #4A7B1B
triadic
#7A7B1B #1B7A7B #7B1B7A
tetradic
#7A7B1B #1B7B4C #1C1B7B #7B1B4A
square
#7A7B1B #1B7B4C #1C1B7B #7B1B4A
split-complementary
#7A7B1B #1B4A7B #4C1B7B
monochromatic
#191906 #484910 #7A7B1B #ACAD26 #D3D43C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A7B1B#FFFFFF#000000##000000
##7A7B1B1.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)
#857504
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#837369
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a7b1b;
/* rgb */ color: rgb(122, 123, 27);
/* oklch */ color: oklch(56.4% 0.113 110.2);
Tailwind
colors: {
  custom: {
    50: '#a4a060',
    500: '#7a7b1b',
    950: '#000000',
  },
}
SCSS
$custom: #7a7b1b;
$custom-light: #a4a060;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7b1b",
  "rgb": {
    "r": 122,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 60.625,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56439,
    "c": 0.11316,
    "h": 110.2
  },
  "luminance": 0.18383
}

Semantic roles & 50–950 ramp

primary
#7A7B1B
secondary
#4443AF
accent
#41E743
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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