#727F1B#727F1B

#727F1B is a mid, vivid 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#727F1B
RGBrgb(114, 127, 27)
HSLhsl(68, 65%, 30%)
HSVhsv(68, 79%, 50%)
CMYKcmyk(10.2%, 0%, 78.7%, 50.2%)
CIE-LABlab(50.49, -18.06, 48.74)
CIE-LCHlch(50.49, 51.98, 110.33°)
OKLaboklab(56.71% -0.0546 0.1071)
OKLCHoklch(56.71% 0.12 117)
XYZxyz(14.7270, 18.8355, 3.8965)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727F1B #281B7F
analogous
#7F5A1B #727F1B #407F1B
triadic
#727F1B #1B727F #7F1B72
tetradic
#727F1B #1B7F5A #281B7F #7F1B40
square
#727F1B #1B7F5A #281B7F #7F1B40
split-complementary
#727F1B #1B407F #5A1B7F
monochromatic
#171A06 #454D10 #727F1B #9FB126 #C2D63E

Accessibility & contrast

On white

4.41
#727F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##727F1B#FFFFFF#000000##000000
##727F1B1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887802
Deuteranopia (green-blind)
#877924
Tritanopia (blue-blind)
#7A776C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #727f1b;
/* rgb */ color: rgb(114, 127, 27);
/* oklch */ color: oklch(56.7% 0.120 117.0);
Tailwind
colors: {
  custom: {
    50: '#9ea460',
    500: '#727f1b',
    950: '#000000',
  },
}
SCSS
$custom: #727f1b;
$custom-light: #9ea460;
$custom-dark: #000000;
JSON
{
  "hex": "#727f1b",
  "rgb": {
    "r": 114,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 67.8,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56705,
    "c": 0.12018,
    "h": 117
  },
  "luminance": 0.18835
}

Semantic roles & 50–950 ramp

primary
#727F1B
secondary
#5243B3
accent
#40E856
background
#FAFAF5
surface
#F3F3EA
border
#CDCDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #727F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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