#727E1F#727E1F

#727E1F is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.5% C 0.117 H 116.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#727E1F
RGBrgb(114, 126, 31)
HSLhsl(68, 61%, 31%)
HSVhsv(68, 75%, 49%)
CMYKcmyk(9.5%, 0%, 75.4%, 50.6%)
CIE-LABlab(50.21, -17.33, 47.05)
CIE-LCHlch(50.21, 50.14, 110.22°)
OKLaboklab(56.49% -0.0522 0.1042)
OKLCHoklch(56.49% 0.117 116.6)
XYZxyz(14.6480, 18.5982, 4.1142)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727E1F #2B1F7E
analogous
#7E5A1F #727E1F #427E1F
triadic
#727E1F #1F727E #7E1F72
tetradic
#727E1F #1F7E5A #2B1F7E #7E1F42
square
#727E1F #1F7E5A #2B1F7E #7E1F42
split-complementary
#727E1F #1F427E #5A1F7E
monochromatic
#191C07 #464D13 #727E1F #9EAF2B #C0D146

Accessibility & contrast

On white

4.45
#727E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#727E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727E1F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727E1F#FFFFFF#000000##000000
##727E1F1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770C
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#79776C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #727e1f;
/* rgb */ color: rgb(114, 126, 31);
/* oklch */ color: oklch(56.5% 0.117 116.6);
Tailwind
colors: {
  custom: {
    50: '#9da362',
    500: '#727e1f',
    950: '#000000',
  },
}
SCSS
$custom: #727e1f;
$custom-light: #9da362;
$custom-dark: #000000;
JSON
{
  "hex": "#727e1f",
  "rgb": {
    "r": 114,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 67.579,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56487,
    "c": 0.11659,
    "h": 116.6
  },
  "luminance": 0.18598
}

Semantic roles & 50–950 ramp

primary
#727E1F
secondary
#5548B1
accent
#44E458
background
#FAFAF6
surface
#F3F3EB
border
#CDCDC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #727E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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