#7A751C#7A751C

#7A751C 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#7A751C
RGBrgb(122, 117, 28)
HSLhsl(57, 63%, 29%)
HSVhsv(57, 77%, 48%)
CMYKcmyk(0%, 4.1%, 77%, 52.2%)
CIE-LABlab(48.19, -8.92, 46.48)
CIE-LCHlch(48.19, 47.33, 100.86°)
OKLaboklab(55.03% -0.0295 0.1022)
OKLCHoklch(55.03% 0.106 106.1)
XYZxyz(14.5975, 16.9445, 3.6001)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A751C #1C217A
analogous
#7A461C #7A751C #507A1C
triadic
#7A751C #1C7A75 #751C7A
tetradic
#7A751C #1C7A46 #1C217A #7A1C50
square
#7A751C #1C7A46 #1C217A #7A1C50
split-complementary
#7A751C #1C507A #461C7A
monochromatic
#191806 #484511 #7A751C #ACA527 #D3CB3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A751C#FFFFFF#000000##FFFFFF
##7A751C1.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)
#80700A
Deuteranopia (green-blind)
#827423
Tritanopia (blue-blind)
#836D64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a751c;
/* rgb */ color: rgb(122, 117, 28);
/* oklch */ color: oklch(55.0% 0.106 106.1);
Tailwind
colors: {
  custom: {
    50: '#a49c60',
    500: '#7a751c',
    950: '#000000',
  },
}
SCSS
$custom: #7a751c;
$custom-light: #a49c60;
$custom-dark: #000000;
JSON
{
  "hex": "#7a751c",
  "rgb": {
    "r": 122,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 56.809,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55031,
    "c": 0.10635,
    "h": 106.1
  },
  "luminance": 0.16944
}

Semantic roles & 50–950 ramp

primary
#7A751C
secondary
#444AAE
accent
#4BE642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A751C

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

Preview Lab → · Contrast checker → · Palette generator →

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