#727E2F#727E2F

#727E2F is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.6% C 0.104 H 117.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#727E2F
RGBrgb(114, 126, 47)
HSLhsl(69, 46%, 34%)
HSVhsv(69, 63%, 49%)
CMYKcmyk(9.5%, 0%, 62.7%, 50.6%)
CIE-LABlab(50.34, -16.27, 40.39)
CIE-LCHlch(50.34, 43.54, 111.94°)
OKLaboklab(56.63% -0.0476 0.0928)
OKLCHoklch(56.63% 0.104 117.1)
XYZxyz(14.9136, 18.7045, 5.5135)
Luminance0.1870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727E2F #3B2F7E
analogous
#7E632F #727E2F #4B7E2F
triadic
#727E2F #2F727E #7E2F72
tetradic
#727E2F #2F7E63 #3B2F7E #7E2F4B
square
#727E2F #2F7E63 #3B2F7E #7E2F4B
split-complementary
#727E2F #2F4B7E #632F7E
monochromatic
#21250E #4A511E #727E2F #9AAB40 #B6C563

Accessibility & contrast

On white

4.43
#727E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#727E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727E2F
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727E2F#FFFFFF#000000##000000
##727E2F1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867726
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#79776D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #727e2f;
/* rgb */ color: rgb(114, 126, 47);
/* oklch */ color: oklch(56.6% 0.104 117.1);
Tailwind
colors: {
  custom: {
    50: '#9da36b',
    500: '#727e2f',
    950: '#000000',
  },
}
SCSS
$custom: #727e2f;
$custom-light: #9da36b;
$custom-dark: #000000;
JSON
{
  "hex": "#727e2f",
  "rgb": {
    "r": 114,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 69.114,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56629,
    "c": 0.10429,
    "h": 117.1
  },
  "luminance": 0.18704
}

Semantic roles & 50–950 ramp

primary
#727E2F
secondary
#695DAC
accent
#52D566
background
#F9FAF6
surface
#F2F3EB
border
#CCCDC6
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #727E2F

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

Preview Lab → · Contrast checker → · Palette generator →

#727E2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva