#7E7E27#7E7E27

#7E7E27 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.6% C 0.108 H 109.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7E7E27
RGBrgb(126, 126, 39)
HSLhsl(60, 53%, 32%)
HSVhsv(60, 69%, 49%)
CMYKcmyk(0%, 0%, 69%, 50.6%)
CIE-LABlab(51.27, -11.43, 45.25)
CIE-LCHlch(51.27, 46.67, 104.17°)
OKLaboklab(57.6% -0.0356 0.1015)
OKLCHoklch(57.6% 0.108 109.3)
XYZxyz(16.4318, 19.5043, 4.8182)
Luminance0.1950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7E27 #27277E
analogous
#7E5327 #7E7E27 #537E27
triadic
#7E7E27 #277E7E #7E277E
tetradic
#7E7E27 #277E53 #27277E #7E2753
square
#7E7E27 #277E53 #27277E #7E2753
split-complementary
#7E7E27 #27537E #53277E
monochromatic
#21210A #4F4F19 #7E7E27 #ADAD35 #CACA55

Accessibility & contrast

On white

4.29
#7E7E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7E7E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7E27
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7E27#FFFFFF#000000##000000
##7E7E271.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e7e27;
/* rgb */ color: rgb(126, 126, 39);
/* oklch */ color: oklch(57.6% 0.108 109.3);
Tailwind
colors: {
  custom: {
    50: '#a6a367',
    500: '#7e7e27',
    950: '#000000',
  },
}
SCSS
$custom: #7e7e27;
$custom-light: #a6a367;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7e27",
  "rgb": {
    "r": 126,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 60,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.576,
    "c": 0.10757,
    "h": 109.3
  },
  "luminance": 0.19504
}

Semantic roles & 50–950 ramp

primary
#7E7E27
secondary
#5252AF
accent
#4CDC4C
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7E7E27

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

Preview Lab → · Contrast checker → · Palette generator →

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