#727F1C#727F1C

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

Color values

HEX#727F1C
RGBrgb(114, 127, 28)
HSLhsl(68, 64%, 30%)
HSVhsv(68, 78%, 50%)
CMYKcmyk(10.2%, 0%, 78%, 50.2%)
CIE-LABlab(50.50, -18.01, 48.40)
CIE-LCHlch(50.50, 51.64, 110.41°)
OKLaboklab(56.71% -0.0544 0.1065)
OKLCHoklch(56.71% 0.12 117)
XYZxyz(14.7388, 18.8402, 3.9585)
Luminance0.1884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727F1C #291C7F
analogous
#7F5A1C #727F1C #407F1C
triadic
#727F1C #1C727F #7F1C72
tetradic
#727F1C #1C7F5A #291C7F #7F1C40
square
#727F1C #1C7F5A #291C7F #7F1C40
split-complementary
#727F1C #1C407F #5A1C7F
monochromatic
#181B06 #454D11 #727F1C #9FB127 #C1D540

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##727F1C#FFFFFF#000000##000000
##727F1C1.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)
#887804
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#79776C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #727f1c;
/* rgb */ color: rgb(114, 127, 28);
/* oklch */ color: oklch(56.7% 0.120 117.0);
Tailwind
colors: {
  custom: {
    50: '#9ea461',
    500: '#727f1c',
    950: '#000000',
  },
}
SCSS
$custom: #727f1c;
$custom-light: #9ea461;
$custom-dark: #000000;
JSON
{
  "hex": "#727f1c",
  "rgb": {
    "r": 114,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 67.879,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56711,
    "c": 0.11961,
    "h": 117
  },
  "luminance": 0.1884
}

Semantic roles & 50–950 ramp

primary
#727F1C
secondary
#5344B3
accent
#41E757
background
#FAFAF6
surface
#F3F3EB
border
#CDCDC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #727F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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