#7A751B#7A751B

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

Color values

HEX#7A751B
RGBrgb(122, 117, 27)
HSLhsl(57, 64%, 29%)
HSVhsv(57, 78%, 48%)
CMYKcmyk(0%, 4.1%, 77.9%, 52.2%)
CIE-LABlab(48.18, -8.96, 46.84)
CIE-LCHlch(48.18, 47.69, 100.83°)
OKLaboklab(55.02% -0.0298 0.1027)
OKLCHoklch(55.02% 0.107 106.2)
XYZxyz(14.5858, 16.9398, 3.5381)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A751B #1B207A
analogous
#7A461B #7A751B #507A1B
triadic
#7A751B #1B7A75 #751B7A
tetradic
#7A751B #1B7A46 #1B207A #7A1B50
square
#7A751B #1B7A46 #1B207A #7A1B50
split-complementary
#7A751B #1B507A #461B7A
monochromatic
#191806 #484510 #7A751B #ACA526 #D4CC3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A751B#FFFFFF#000000##FFFFFF
##7A751B1.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)
#807007
Deuteranopia (green-blind)
#827422
Tritanopia (blue-blind)
#836D64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a751b;
/* rgb */ color: rgb(122, 117, 27);
/* oklch */ color: oklch(55.0% 0.107 106.2);
Tailwind
colors: {
  custom: {
    50: '#a49c5f',
    500: '#7a751b',
    950: '#000000',
  },
}
SCSS
$custom: #7a751b;
$custom-light: #a49c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a751b",
  "rgb": {
    "r": 122,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 56.842,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55024,
    "c": 0.10696,
    "h": 106.2
  },
  "luminance": 0.16939
}

Semantic roles & 50–950 ramp

primary
#7A751B
secondary
#4348AE
accent
#4AE741
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A751B

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

Preview Lab → · Contrast checker → · Palette generator →

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