#727F2E#727F2E

#727F2E is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 56.9% C 0.106 H 117.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#727F2E
RGBrgb(114, 127, 46)
HSLhsl(70, 47%, 34%)
HSVhsv(70, 64%, 50%)
CMYKcmyk(10.2%, 0%, 63.8%, 50.2%)
CIE-LABlab(50.63, -16.88, 41.17)
CIE-LCHlch(50.63, 44.50, 112.29°)
OKLaboklab(56.86% -0.0494 0.0943)
OKLCHoklch(56.86% 0.106 117.6)
XYZxyz(15.0222, 18.9536, 5.4513)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727F2E #3B2E7F
analogous
#7F642E #727F2E #4A7F2E
triadic
#727F2E #2E727F #7F2E72
tetradic
#727F2E #2E7F64 #3B2E7F #7F2E4A
square
#727F2E #2E7F64 #3B2E7F #7F2E4A
split-complementary
#727F2E #2E4A7F #642E7F
monochromatic
#21250D #4A521E #727F2E #9AAC3E #B6C661

Accessibility & contrast

On white

4.38
#727F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#727F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727F2E
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727F2E#FFFFFF#000000##000000
##727F2E1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877824
Deuteranopia (green-blind)
#867933
Tritanopia (blue-blind)
#79786E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #727f2e;
/* rgb */ color: rgb(114, 127, 46);
/* oklch */ color: oklch(56.9% 0.106 117.6);
Tailwind
colors: {
  custom: {
    50: '#9da46b',
    500: '#727f2e',
    950: '#000000',
  },
}
SCSS
$custom: #727f2e;
$custom-light: #9da46b;
$custom-dark: #000000;
JSON
{
  "hex": "#727f2e",
  "rgb": {
    "r": 114,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 69.63,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56861,
    "c": 0.10648,
    "h": 117.6
  },
  "luminance": 0.18953
}

Semantic roles & 50–950 ramp

primary
#727F2E
secondary
#695CAD
accent
#51D667
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #727F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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