#727F1F#727F1F

#727F1F 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#727F1F
RGBrgb(114, 127, 31)
HSLhsl(68, 61%, 31%)
HSVhsv(68, 76%, 50%)
CMYKcmyk(10.2%, 0%, 75.6%, 50.2%)
CIE-LABlab(50.52, -17.86, 47.34)
CIE-LCHlch(50.52, 50.60, 110.67°)
OKLaboklab(56.73% -0.0537 0.1049)
OKLCHoklch(56.73% 0.118 117.1)
XYZxyz(14.7765, 18.8553, 4.1571)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727F1F #2C1F7F
analogous
#7F5C1F #727F1F #427F1F
triadic
#727F1F #1F727F #7F1F72
tetradic
#727F1F #1F7F5C #2C1F7F #7F1F42
square
#727F1F #1F7F5C #2C1F7F #7F1F42
split-complementary
#727F1F #1F427F #5C1F7F
monochromatic
#1A1D07 #464E13 #727F1F #9EB02B #BFD246

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##727F1F#FFFFFF#000000##000000
##727F1F1.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)
#88780C
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#79786D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #727f1f;
/* rgb */ color: rgb(114, 127, 31);
/* oklch */ color: oklch(56.7% 0.118 117.1);
Tailwind
colors: {
  custom: {
    50: '#9da462',
    500: '#727f1f',
    950: '#000000',
  },
}
SCSS
$custom: #727f1f;
$custom-light: #9da462;
$custom-dark: #000000;
JSON
{
  "hex": "#727f1f",
  "rgb": {
    "r": 114,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 68.125,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56731,
    "c": 0.11779,
    "h": 117.1
  },
  "luminance": 0.18855
}

Semantic roles & 50–950 ramp

primary
#727F1F
secondary
#5648B2
accent
#44E45A
background
#FAFAF6
surface
#F3F3EB
border
#CDCDC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #727F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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