#7D791C#7D791C

#7D791C is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.3% C 0.110 H 106.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7D791C
RGBrgb(125, 121, 28)
HSLhsl(58, 63%, 30%)
HSVhsv(58, 78%, 49%)
CMYKcmyk(0%, 3.2%, 77.6%, 51%)
CIE-LABlab(49.64, -9.73, 47.93)
CIE-LCHlch(49.64, 48.91, 101.48°)
OKLaboklab(56.25% -0.032 0.1051)
OKLCHoklch(56.25% 0.11 106.9)
XYZxyz(15.5050, 18.1191, 3.7790)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D791C #1C207D
analogous
#7D491C #7D791C #507D1C
triadic
#7D791C #1C7D79 #791C7D
tetradic
#7D791C #1C7D49 #1C207D #7D1C50
square
#7D791C #1C7D49 #1C207D #7D1C50
split-complementary
#7D791C #1C507D #491C7D
monochromatic
#191806 #4B4911 #7D791C #AFA927 #D4CE3F

Accessibility & contrast

On white

4.54
#7D791C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7D791C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D791C
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D791C#FFFFFF#000000##000000
##7D791C1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#847407
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#877167
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d791c;
/* rgb */ color: rgb(125, 121, 28);
/* oklch */ color: oklch(56.3% 0.110 106.9);
Tailwind
colors: {
  custom: {
    50: '#a69f60',
    500: '#7d791c',
    950: '#000000',
  },
}
SCSS
$custom: #7d791c;
$custom-light: #a69f60;
$custom-dark: #000000;
JSON
{
  "hex": "#7d791c",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 57.526,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.56253,
    "c": 0.1099,
    "h": 106.9
  },
  "luminance": 0.18119
}

Semantic roles & 50–950 ramp

primary
#7D791C
secondary
#4449B1
accent
#48E641
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D791C

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

Preview Lab → · Contrast checker → · Palette generator →

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