#7D7927#7D7927

#7D7927 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.3% C 0.102 H 106.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7D7927
RGBrgb(125, 121, 39)
HSLhsl(57, 52%, 32%)
HSVhsv(57, 69%, 49%)
CMYKcmyk(0%, 3.2%, 68.8%, 51%)
CIE-LABlab(49.72, -9.14, 43.63)
CIE-LCHlch(49.72, 44.58, 101.83°)
OKLaboklab(56.34% -0.0291 0.0981)
OKLCHoklch(56.34% 0.102 106.5)
XYZxyz(15.6616, 18.1817, 4.6035)
Luminance0.1818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7927 #272B7D
analogous
#7D4E27 #7D7927 #567D27
triadic
#7D7927 #277D79 #79277D
tetradic
#7D7927 #277D4E #272B7D #7D2756
square
#7D7927 #277D4E #272B7D #7D2756
split-complementary
#7D7927 #27567D #4E277D
monochromatic
#201F0A #4E4C18 #7D7927 #ACA636 #CAC455

Accessibility & contrast

On white

4.53
#7D7927 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7D7927 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7927
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7927#FFFFFF#000000##000000
##7D79271.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83741C
Deuteranopia (green-blind)
#85782C
Tritanopia (blue-blind)
#867168
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d7927;
/* rgb */ color: rgb(125, 121, 39);
/* oklch */ color: oklch(56.3% 0.102 106.5);
Tailwind
colors: {
  custom: {
    50: '#a59f66',
    500: '#7d7927',
    950: '#000000',
  },
}
SCSS
$custom: #7d7927;
$custom-light: #a59f66;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7927",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 39
  },
  "hsl": {
    "h": 57.209,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56337,
    "c": 0.10236,
    "h": 106.5
  },
  "luminance": 0.18181
}

Semantic roles & 50–950 ramp

primary
#7D7927
secondary
#5156AF
accent
#53DC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D7927

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

Preview Lab → · Contrast checker → · Palette generator →

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