#7A7E2D#7A7E2D

#7A7E2D is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.3% C 0.104 H 111.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7A7E2D
RGBrgb(122, 126, 45)
HSLhsl(63, 47%, 34%)
HSVhsv(63, 64%, 49%)
CMYKcmyk(3.2%, 0%, 64.3%, 50.6%)
CIE-LABlab(50.98, -12.84, 42.19)
CIE-LCHlch(50.98, 44.11, 106.93°)
OKLaboklab(57.3% -0.0387 0.0962)
OKLCHoklch(57.3% 0.104 111.9)
XYZxyz(15.9610, 19.2491, 5.3568)
Luminance0.1925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7E2D #312D7E
analogous
#7E592D #7A7E2D #517E2D
triadic
#7A7E2D #2D7A7E #7E2D7A
tetradic
#7A7E2D #2D7E59 #312D7E #7E2D51
square
#7A7E2D #2D7E59 #312D7E #7E2D51
split-complementary
#7A7E2D #2D517E #592D7E
monochromatic
#23240D #4E511D #7A7E2D #A6AB3D #C1C65F

Accessibility & contrast

On white

4.33
#7A7E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#7A7E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7E2D
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7E2D#FFFFFF#000000##000000
##7A7E2D1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877823
Deuteranopia (green-blind)
#887A32
Tritanopia (blue-blind)
#82766D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7a7e2d;
/* rgb */ color: rgb(122, 126, 45);
/* oklch */ color: oklch(57.3% 0.104 111.9);
Tailwind
colors: {
  custom: {
    50: '#a3a36a',
    500: '#7a7e2d',
    950: '#000000',
  },
}
SCSS
$custom: #7a7e2d;
$custom-light: #a3a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7e2d",
  "rgb": {
    "r": 122,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 62.963,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57296,
    "c": 0.10365,
    "h": 111.9
  },
  "luminance": 0.19249
}

Semantic roles & 50–950 ramp

primary
#7A7E2D
secondary
#5E5AAC
accent
#51D757
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #7A7E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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