#7A7B2B#7A7B2B

#7A7B2B is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.6% C 0.102 H 109.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7A7B2B
RGBrgb(122, 123, 43)
HSLhsl(61, 48%, 33%)
HSVhsv(61, 65%, 48%)
CMYKcmyk(0.8%, 0%, 65%, 51.8%)
CIE-LABlab(50.07, -11.35, 42.14)
CIE-LCHlch(50.07, 43.64, 105.08°)
OKLaboklab(56.57% -0.0347 0.0957)
OKLCHoklch(56.57% 0.102 109.9)
XYZxyz(15.5455, 18.4783, 5.0328)
Luminance0.1848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7B2B #2C2B7B
analogous
#7B542B #7A7B2B #527B2B
triadic
#7A7B2B #2B7A7B #7B2B7A
tetradic
#7A7B2B #2B7B54 #2C2B7B #7B2B52
square
#7A7B2B #2B7B54 #2C2B7B #7B2B52
split-complementary
#7A7B2B #2B527B #542B7B
monochromatic
#20200B #4D4E1B #7A7B2B #A7A83B #C4C65B

Accessibility & contrast

On white

4.47
#7A7B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#7A7B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7B2B
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7B2B#FFFFFF#000000##000000
##7A7B2B1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#857621
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#82736A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a7b2b;
/* rgb */ color: rgb(122, 123, 43);
/* oklch */ color: oklch(56.6% 0.102 109.9);
Tailwind
colors: {
  custom: {
    50: '#a3a169',
    500: '#7a7b2b',
    950: '#000000',
  },
}
SCSS
$custom: #7a7b2b;
$custom-light: #a3a169;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7b2b",
  "rgb": {
    "r": 122,
    "g": 123,
    "b": 43
  },
  "hsl": {
    "h": 60.75,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56566,
    "c": 0.10184,
    "h": 109.9
  },
  "luminance": 0.18478
}

Semantic roles & 50–950 ramp

primary
#7A7B2B
secondary
#5756AB
accent
#50D852
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7A7B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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