#7D7127#7D7127

#7D7127 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.5% C 0.094 H 100.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7D7127
RGBrgb(125, 113, 39)
HSLhsl(52, 52%, 32%)
HSVhsv(52, 69%, 49%)
CMYKcmyk(0%, 9.6%, 68.8%, 51%)
CIE-LABlab(47.39, -4.66, 41.22)
CIE-LCHlch(47.39, 41.48, 96.45°)
OKLaboklab(54.49% -0.0164 0.093)
OKLCHoklch(54.49% 0.094 100)
XYZxyz(14.7294, 16.3174, 4.2928)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7127 #27337D
analogous
#7D4627 #7D7127 #5E7D27
triadic
#7D7127 #277D71 #71277D
tetradic
#7D7127 #277D46 #27337D #7D275E
square
#7D7127 #277D46 #27337D #7D275E
split-complementary
#7D7127 #275E7D #46277D
monochromatic
#201D0A #4E4718 #7D7127 #AC9B36 #CAB955

Accessibility & contrast

On white

4.93
#7D7127 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7D7127 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7127
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7127#FFFFFF#000000##FFFFFF
##7D71271.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1D
Deuteranopia (green-blind)
#7F722B
Tritanopia (blue-blind)
#876962
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d7127;
/* rgb */ color: rgb(125, 113, 39);
/* oklch */ color: oklch(54.5% 0.094 100.0);
Tailwind
colors: {
  custom: {
    50: '#a59965',
    500: '#7d7127',
    950: '#000000',
  },
}
SCSS
$custom: #7d7127;
$custom-light: #a59965;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7127",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 39
  },
  "hsl": {
    "h": 51.628,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54487,
    "c": 0.09447,
    "h": 100
  },
  "luminance": 0.16317
}

Semantic roles & 50–950 ramp

primary
#7D7127
secondary
#515EAF
accent
#60DC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7D7127

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

Preview Lab → · Contrast checker → · Palette generator →

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