#7A7B1E#7A7B1E

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

Color values

HEX#7A7B1E
RGBrgb(122, 123, 30)
HSLhsl(61, 61%, 30%)
HSVhsv(61, 76%, 48%)
CMYKcmyk(0.8%, 0%, 75.6%, 51.8%)
CIE-LABlab(49.98, -12.12, 47.43)
CIE-LCHlch(49.98, 48.95, 104.34°)
OKLaboklab(56.46% -0.0383 0.1046)
OKLCHoklch(56.46% 0.111 110.1)
XYZxyz(15.3439, 18.3977, 3.9709)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7B1E #1F1E7B
analogous
#7B4D1E #7A7B1E #4C7B1E
triadic
#7A7B1E #1E7A7B #7B1E7A
tetradic
#7A7B1E #1E7B4D #1F1E7B #7B1E4C
square
#7A7B1E #1E7B4D #1F1E7B #7B1E4C
split-complementary
#7A7B1E #1E4C7B #4D1E7B
monochromatic
#181906 #494A12 #7A7B1E #ABAC2A #CFD142

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A7B1E#FFFFFF#000000##000000
##7A7B1E1.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)
#85750B
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#837369
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a7b1e;
/* rgb */ color: rgb(122, 123, 30);
/* oklch */ color: oklch(56.5% 0.111 110.1);
Tailwind
colors: {
  custom: {
    50: '#a3a161',
    500: '#7a7b1e',
    950: '#000000',
  },
}
SCSS
$custom: #7a7b1e;
$custom-light: #a3a161;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7b1e",
  "rgb": {
    "r": 122,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 60.645,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.56459,
    "c": 0.11136,
    "h": 110.1
  },
  "luminance": 0.18397
}

Semantic roles & 50–950 ramp

primary
#7A7B1E
secondary
#4746AE
accent
#44E446
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7A7B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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