#727E1A#727E1A

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

Color values

HEX#727E1A
RGBrgb(114, 126, 26)
HSLhsl(67, 66%, 30%)
HSVhsv(67, 79%, 49%)
CMYKcmyk(9.5%, 0%, 79.4%, 50.6%)
CIE-LABlab(50.18, -17.58, 48.79)
CIE-LCHlch(50.18, 51.86, 109.82°)
OKLaboklab(56.46% -0.0533 0.107)
OKLCHoklch(56.46% 0.12 116.5)
XYZxyz(14.5871, 18.5739, 3.7938)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727E1A #261A7E
analogous
#7E581A #727E1A #407E1A
triadic
#727E1A #1A727E #7E1A72
tetradic
#727E1A #1A7E58 #261A7E #7E1A40
square
#727E1A #1A7E58 #261A7E #7E1A40
split-complementary
#727E1A #1A407E #581A7E
monochromatic
#171905 #444B10 #727E1A #A0B124 #C4D73C

Accessibility & contrast

On white

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

On black

4.71
#727E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727E1A
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727E1A#FFFFFF#000000##000000
##727E1A1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877701
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#7A766B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #727e1a;
/* rgb */ color: rgb(114, 126, 26);
/* oklch */ color: oklch(56.5% 0.120 116.5);
Tailwind
colors: {
  custom: {
    50: '#9ea360',
    500: '#727e1a',
    950: '#000000',
  },
}
SCSS
$custom: #727e1a;
$custom-light: #9ea360;
$custom-dark: #000000;
JSON
{
  "hex": "#727e1a",
  "rgb": {
    "r": 114,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 67.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56455,
    "c": 0.11955,
    "h": 116.5
  },
  "luminance": 0.18574
}

Semantic roles & 50–950 ramp

primary
#727E1A
secondary
#4F42B2
accent
#3FE953
background
#FAFAF5
surface
#F3F3EA
border
#CDCDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #727E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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