#7A751A#7A751A

#7A751A is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.0% C 0.108 H 106.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7A751A
RGBrgb(122, 117, 26)
HSLhsl(57, 65%, 29%)
HSVhsv(57, 79%, 48%)
CMYKcmyk(0%, 4.1%, 78.7%, 52.2%)
CIE-LABlab(48.18, -9.01, 47.19)
CIE-LCHlch(48.18, 48.05, 100.81°)
OKLaboklab(55.02% -0.03 0.1033)
OKLCHoklch(55.02% 0.108 106.2)
XYZxyz(14.5744, 16.9353, 3.4782)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A751A #1A1F7A
analogous
#7A451A #7A751A #4F7A1A
triadic
#7A751A #1A7A75 #751A7A
tetradic
#7A751A #1A7A45 #1A1F7A #7A1A4F
square
#7A751A #1A7A45 #1A1F7A #7A1A4F
split-complementary
#7A751A #1A4F7A #451A7A
monochromatic
#191805 #48450F #7A751A #ACA525 #D5CD39

Accessibility & contrast

On white

4.79
#7A751A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7A751A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A751A
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A751A#FFFFFF#000000##FFFFFF
##7A751A1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807005
Deuteranopia (green-blind)
#827421
Tritanopia (blue-blind)
#846D64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a751a;
/* rgb */ color: rgb(122, 117, 26);
/* oklch */ color: oklch(55.0% 0.108 106.2);
Tailwind
colors: {
  custom: {
    50: '#a49c5f',
    500: '#7a751a',
    950: '#000000',
  },
}
SCSS
$custom: #7a751a;
$custom-light: #a49c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a751a",
  "rgb": {
    "r": 122,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 56.875,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55018,
    "c": 0.10754,
    "h": 106.2
  },
  "luminance": 0.16935
}

Semantic roles & 50–950 ramp

primary
#7A751A
secondary
#4147AE
accent
#49E840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A751A

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

Preview Lab → · Contrast checker → · Palette generator →

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