#727F2A#727F2A

#727F2A is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.8% C 0.110 H 117.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#727F2A
RGBrgb(114, 127, 42)
HSLhsl(69, 50%, 33%)
HSVhsv(69, 67%, 50%)
CMYKcmyk(10.2%, 0%, 66.9%, 50.2%)
CIE-LABlab(50.60, -17.18, 42.94)
CIE-LCHlch(50.60, 46.25, 111.80°)
OKLaboklab(56.82% -0.0507 0.0975)
OKLCHoklch(56.82% 0.11 117.5)
XYZxyz(14.9470, 18.9235, 5.0552)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727F2A #372A7F
analogous
#7F612A #727F2A #487F2A
triadic
#727F2A #2A727F #7F2A72
tetradic
#727F2A #2A7F61 #372A7F #7F2A48
square
#727F2A #2A7F61 #372A7F #7F2A48
split-complementary
#727F2A #2A487F #612A7F
monochromatic
#1F230C #49511B #727F2A #9BAD39 #B8C95B

Accessibility & contrast

On white

4.39
#727F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#727F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727F2A
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727F2A#FFFFFF#000000##000000
##727F2A1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88781F
Deuteranopia (green-blind)
#867930
Tritanopia (blue-blind)
#79786E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #727f2a;
/* rgb */ color: rgb(114, 127, 42);
/* oklch */ color: oklch(56.8% 0.110 117.5);
Tailwind
colors: {
  custom: {
    50: '#9da468',
    500: '#727f2a',
    950: '#000000',
  },
}
SCSS
$custom: #727f2a;
$custom-light: #9da468;
$custom-dark: #000000;
JSON
{
  "hex": "#727f2a",
  "rgb": {
    "r": 114,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 69.176,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56821,
    "c": 0.10985,
    "h": 117.5
  },
  "luminance": 0.18923
}

Semantic roles & 50–950 ramp

primary
#727F2A
secondary
#6457AE
accent
#4EDA63
background
#F9FAF6
surface
#F2F3EB
border
#CCCDC6
text
#0F0F06
muted
#7E7F7A

Preview Lab

Preview with #727F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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