#7A751F#7A751F

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

Color values

HEX#7A751F
RGBrgb(122, 117, 31)
HSLhsl(57, 59%, 30%)
HSVhsv(57, 75%, 48%)
CMYKcmyk(0%, 4.1%, 74.6%, 52.2%)
CIE-LABlab(48.21, -8.77, 45.35)
CIE-LCHlch(48.21, 46.19, 100.94°)
OKLaboklab(55.05% -0.0288 0.1004)
OKLCHoklch(55.05% 0.104 106)
XYZxyz(14.6352, 16.9596, 3.7987)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A751F #1F247A
analogous
#7A471F #7A751F #527A1F
triadic
#7A751F #1F7A75 #751F7A
tetradic
#7A751F #1F7A47 #1F247A #7A1F52
square
#7A751F #1F7A47 #1F247A #7A1F52
split-complementary
#7A751F #1F527A #471F7A
monochromatic
#181706 #494613 #7A751F #ABA42B #CFC844

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A751F#FFFFFF#000000##FFFFFF
##7A751F1.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)
#807010
Deuteranopia (green-blind)
#827425
Tritanopia (blue-blind)
#836D64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a751f;
/* rgb */ color: rgb(122, 117, 31);
/* oklch */ color: oklch(55.1% 0.104 106.0);
Tailwind
colors: {
  custom: {
    50: '#a39c61',
    500: '#7a751f',
    950: '#000000',
  },
}
SCSS
$custom: #7a751f;
$custom-light: #a39c61;
$custom-dark: #000000;
JSON
{
  "hex": "#7a751f",
  "rgb": {
    "r": 122,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 56.703,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.55052,
    "c": 0.10443,
    "h": 106
  },
  "luminance": 0.16959
}

Semantic roles & 50–950 ramp

primary
#7A751F
secondary
#474DAD
accent
#4EE345
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A751F

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

Preview Lab → · Contrast checker → · Palette generator →

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