#727E1C#727E1C

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

Color values

HEX#727E1C
RGBrgb(114, 126, 28)
HSLhsl(67, 64%, 30%)
HSVhsv(67, 78%, 49%)
CMYKcmyk(9.5%, 0%, 77.8%, 50.6%)
CIE-LABlab(50.20, -17.49, 48.12)
CIE-LCHlch(50.20, 51.19, 109.97°)
OKLaboklab(56.47% -0.0529 0.1059)
OKLCHoklch(56.47% 0.118 116.5)
XYZxyz(14.6103, 18.5832, 3.9156)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727E1C #281C7E
analogous
#7E591C #727E1C #417E1C
triadic
#727E1C #1C727E #7E1C72
tetradic
#727E1C #1C7E59 #281C7E #7E1C41
square
#727E1C #1C7E59 #281C7E #7E1C41
split-complementary
#727E1C #1C417E #591C7E
monochromatic
#171A06 #454C11 #727E1C #9FB027 #C2D540

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##727E1C#FFFFFF#000000##000000
##727E1C1.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)
#877705
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#7A766C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #727e1c;
/* rgb */ color: rgb(114, 126, 28);
/* oklch */ color: oklch(56.5% 0.118 116.5);
Tailwind
colors: {
  custom: {
    50: '#9ea361',
    500: '#727e1c',
    950: '#000000',
  },
}
SCSS
$custom: #727e1c;
$custom-light: #9ea361;
$custom-dark: #000000;
JSON
{
  "hex": "#727e1c",
  "rgb": {
    "r": 114,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 67.347,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56467,
    "c": 0.11842,
    "h": 116.5
  },
  "luminance": 0.18583
}

Semantic roles & 50–950 ramp

primary
#727E1C
secondary
#5244B2
accent
#41E755
background
#FAFAF6
surface
#F3F3EB
border
#CDCDC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #727E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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