#727F1E#727F1E

#727F1E is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.7% C 0.118 H 117.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#727F1E
RGBrgb(114, 127, 30)
HSLhsl(68, 62%, 31%)
HSVhsv(68, 76%, 50%)
CMYKcmyk(10.2%, 0%, 76.4%, 50.2%)
CIE-LABlab(50.51, -17.91, 47.70)
CIE-LCHlch(50.51, 50.95, 110.58°)
OKLaboklab(56.72% -0.0539 0.1054)
OKLCHoklch(56.72% 0.118 117.1)
XYZxyz(14.7635, 18.8501, 4.0887)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727F1E #2B1E7F
analogous
#7F5B1E #727F1E #417F1E
triadic
#727F1E #1E727F #7F1E72
tetradic
#727F1E #1E7F5B #2B1E7F #7F1E41
square
#727F1E #1E7F5B #2B1E7F #7F1E41
split-complementary
#727F1E #1E417F #5B1E7F
monochromatic
#191C07 #464D12 #727F1E #9EB12A #C0D344

Accessibility & contrast

On white

4.40
#727F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#727F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727F1E
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727F1E#FFFFFF#000000##000000
##727F1E1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887809
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#79786D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #727f1e;
/* rgb */ color: rgb(114, 127, 30);
/* oklch */ color: oklch(56.7% 0.118 117.1);
Tailwind
colors: {
  custom: {
    50: '#9da462',
    500: '#727f1e',
    950: '#000000',
  },
}
SCSS
$custom: #727f1e;
$custom-light: #9da462;
$custom-dark: #000000;
JSON
{
  "hex": "#727f1e",
  "rgb": {
    "r": 114,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 68.041,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56724,
    "c": 0.11842,
    "h": 117.1
  },
  "luminance": 0.1885
}

Semantic roles & 50–950 ramp

primary
#727F1E
secondary
#5547B2
accent
#43E559
background
#FAFAF6
surface
#F3F3EB
border
#CDCDC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #727F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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