#7B751A#7B751A

#7B751A is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.1% C 0.107 H 105.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7B751A
RGBrgb(123, 117, 26)
HSLhsl(56, 65%, 29%)
HSVhsv(56, 79%, 48%)
CMYKcmyk(0%, 4.9%, 78.9%, 51.8%)
CIE-LABlab(48.27, -8.54, 47.31)
CIE-LCHlch(48.27, 48.08, 100.23°)
OKLaboklab(55.11% -0.0287 0.1035)
OKLCHoklch(55.11% 0.107 105.5)
XYZxyz(14.7167, 17.0087, 3.4849)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B751A #1A207B
analogous
#7B451A #7B751A #517B1A
triadic
#7B751A #1A7B75 #751A7B
tetradic
#7B751A #1A7B45 #1A207B #7B1A51
square
#7B751A #1A7B45 #1A207B #7B1A51
split-complementary
#7B751A #1A517B #451A7B
monochromatic
#191805 #48450F #7B751A #AEA525 #D5CC3A

Accessibility & contrast

On white

4.77
#7B751A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7B751A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B751A
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B751A#FFFFFF#000000##FFFFFF
##7B751A1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b751a;
/* rgb */ color: rgb(123, 117, 26);
/* oklch */ color: oklch(55.1% 0.107 105.5);
Tailwind
colors: {
  custom: {
    50: '#a49c5f',
    500: '#7b751a',
    950: '#000000',
  },
}
SCSS
$custom: #7b751a;
$custom-light: #a49c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b751a",
  "rgb": {
    "r": 123,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 56.289,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55114,
    "c": 0.1074,
    "h": 105.5
  },
  "luminance": 0.17008
}

Semantic roles & 50–950 ramp

primary
#7B751A
secondary
#4248AF
accent
#4AE840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B751A

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

Preview Lab → · Contrast checker → · Palette generator →

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