#7A7B2F#7A7B2F

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

Color values

HEX#7A7B2F
RGBrgb(122, 123, 47)
HSLhsl(61, 45%, 33%)
HSVhsv(61, 62%, 48%)
CMYKcmyk(0.8%, 0%, 61.8%, 51.8%)
CIE-LABlab(50.11, -11.06, 40.32)
CIE-LCHlch(50.11, 41.81, 105.34°)
OKLaboklab(56.61% -0.0334 0.0925)
OKLCHoklch(56.61% 0.098 109.9)
XYZxyz(15.6225, 18.5091, 5.4384)
Luminance0.1851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7B2F #302F7B
analogous
#7B562F #7A7B2F #547B2F
triadic
#7A7B2F #2F7A7B #7B2F7A
tetradic
#7A7B2F #2F7B56 #302F7B #7B2F54
square
#7A7B2F #2F7B56 #302F7B #7B2F54
split-complementary
#7A7B2F #2F547B #562F7B
monochromatic
#22220D #4E4F1E #7A7B2F #A6A740 #C2C362

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A7B2F#FFFFFF#000000##000000
##7A7B2F1.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)
#847626
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#82746B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a7b2f;
/* rgb */ color: rgb(122, 123, 47);
/* oklch */ color: oklch(56.6% 0.098 109.9);
Tailwind
colors: {
  custom: {
    50: '#a3a16b',
    500: '#7a7b2f',
    950: '#000000',
  },
}
SCSS
$custom: #7a7b2f;
$custom-light: #a3a16b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7b2f",
  "rgb": {
    "r": 122,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 60.789,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56608,
    "c": 0.09835,
    "h": 109.9
  },
  "luminance": 0.18509
}

Semantic roles & 50–950 ramp

primary
#7A7B2F
secondary
#5D5CAA
accent
#53D455
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7A7B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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