#7D7E27#7D7E27

#7D7E27 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.5% C 0.108 H 110.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7D7E27
RGBrgb(125, 126, 39)
HSLhsl(61, 53%, 32%)
HSVhsv(61, 69%, 49%)
CMYKcmyk(0.8%, 0%, 69%, 50.6%)
CIE-LABlab(51.18, -11.88, 45.13)
CIE-LCHlch(51.18, 46.67, 104.75°)
OKLaboklab(57.51% -0.0369 0.1013)
OKLCHoklch(57.51% 0.108 110)
XYZxyz(16.2850, 19.4286, 4.8113)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7E27 #28277E
analogous
#7E5427 #7D7E27 #517E27
triadic
#7D7E27 #277D7E #7E277D
tetradic
#7D7E27 #277E54 #28277E #7E2751
square
#7D7E27 #277E54 #28277E #7E2751
split-complementary
#7D7E27 #27517E #54277E
monochromatic
#20210A #4F4F19 #7D7E27 #ABAD35 #C9CA55

Accessibility & contrast

On white

4.30
#7D7E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#7D7E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7E27
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7E27#FFFFFF#000000##000000
##7D7E271.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88791A
Deuteranopia (green-blind)
#897B2D
Tritanopia (blue-blind)
#86766C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d7e27;
/* rgb */ color: rgb(125, 126, 39);
/* oklch */ color: oklch(57.5% 0.108 110.0);
Tailwind
colors: {
  custom: {
    50: '#a5a367',
    500: '#7d7e27',
    950: '#000000',
  },
}
SCSS
$custom: #7d7e27;
$custom-light: #a5a367;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7e27",
  "rgb": {
    "r": 125,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 60.69,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57509,
    "c": 0.10778,
    "h": 110
  },
  "luminance": 0.19428
}

Semantic roles & 50–950 ramp

primary
#7D7E27
secondary
#5352AF
accent
#4CDC4D
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7D7E27

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

Preview Lab → · Contrast checker → · Palette generator →

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