#7A751D#7A751D

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

Color values

HEX#7A751D
RGBrgb(122, 117, 29)
HSLhsl(57, 62%, 30%)
HSVhsv(57, 76%, 48%)
CMYKcmyk(0%, 4.1%, 76.2%, 52.2%)
CIE-LABlab(48.20, -8.87, 46.11)
CIE-LCHlch(48.20, 46.96, 100.89°)
OKLaboklab(55.04% -0.0293 0.1016)
OKLCHoklch(55.04% 0.106 106.1)
XYZxyz(14.6097, 16.9494, 3.6641)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A751D #1D227A
analogous
#7A471D #7A751D #517A1D
triadic
#7A751D #1D7A75 #751D7A
tetradic
#7A751D #1D7A47 #1D227A #7A1D51
square
#7A751D #1D7A47 #1D227A #7A1D51
split-complementary
#7A751D #1D517A #471D7A
monochromatic
#191806 #494611 #7A751D #ABA429 #D2CA40

Accessibility & contrast

On white

4.78
#7A751D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A751D
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A751D#FFFFFF#000000##FFFFFF
##7A751D1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80700C
Deuteranopia (green-blind)
#827424
Tritanopia (blue-blind)
#836D64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a751d;
/* rgb */ color: rgb(122, 117, 29);
/* oklch */ color: oklch(55.0% 0.106 106.1);
Tailwind
colors: {
  custom: {
    50: '#a49c60',
    500: '#7a751d',
    950: '#000000',
  },
}
SCSS
$custom: #7a751d;
$custom-light: #a49c60;
$custom-dark: #000000;
JSON
{
  "hex": "#7a751d",
  "rgb": {
    "r": 122,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 56.774,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55037,
    "c": 0.10573,
    "h": 106.1
  },
  "luminance": 0.16949
}

Semantic roles & 50–950 ramp

primary
#7A751D
secondary
#454BAE
accent
#4CE543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A751D

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

Preview Lab → · Contrast checker → · Palette generator →

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