#727E2A#727E2A

#727E2A is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.6% C 0.109 H 116.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#727E2A
RGBrgb(114, 126, 42)
HSLhsl(69, 50%, 33%)
HSVhsv(69, 67%, 49%)
CMYKcmyk(9.5%, 0%, 66.7%, 50.6%)
CIE-LABlab(50.29, -16.65, 42.62)
CIE-LCHlch(50.29, 45.76, 111.33°)
OKLaboklab(56.58% -0.0492 0.0968)
OKLCHoklch(56.58% 0.109 116.9)
XYZxyz(14.8185, 18.6665, 5.0124)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727E2A #362A7E
analogous
#7E602A #727E2A #487E2A
triadic
#727E2A #2A727E #7E2A72
tetradic
#727E2A #2A7E60 #362A7E #7E2A48
square
#727E2A #2A7E60 #362A7E #7E2A48
split-complementary
#727E2A #2A487E #602A7E
monochromatic
#1F220B #48501B #727E2A #9CAC39 #B8C85A

Accessibility & contrast

On white

4.44
#727E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#727E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727E2A
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727E2A#FFFFFF#000000##000000
##727E2A1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87771F
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#79776D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #727e2a;
/* rgb */ color: rgb(114, 126, 42);
/* oklch */ color: oklch(56.6% 0.109 116.9);
Tailwind
colors: {
  custom: {
    50: '#9da368',
    500: '#727e2a',
    950: '#000000',
  },
}
SCSS
$custom: #727e2a;
$custom-light: #9da368;
$custom-dark: #000000;
JSON
{
  "hex": "#727e2a",
  "rgb": {
    "r": 114,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 68.571,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56578,
    "c": 0.10858,
    "h": 116.9
  },
  "luminance": 0.18666
}

Semantic roles & 50–950 ramp

primary
#727E2A
secondary
#6356AE
accent
#4EDA62
background
#F9FAF6
surface
#F2F3EB
border
#CCCDC6
text
#0F0F06
muted
#7E7F7A

Preview Lab

Preview with #727E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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