#727E2C#727E2C

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

Color values

HEX#727E2C
RGBrgb(114, 126, 44)
HSLhsl(69, 48%, 33%)
HSVhsv(69, 65%, 49%)
CMYKcmyk(9.5%, 0%, 65.1%, 50.6%)
CIE-LABlab(50.31, -16.50, 41.74)
CIE-LCHlch(50.31, 44.88, 111.57°)
OKLaboklab(56.6% -0.0486 0.0952)
OKLCHoklch(56.6% 0.107 117)
XYZxyz(14.8552, 18.6811, 5.2056)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727E2C #382C7E
analogous
#7E612C #727E2C #497E2C
triadic
#727E2C #2C727E #7E2C72
tetradic
#727E2C #2C7E61 #382C7E #7E2C49
square
#727E2C #2C7E61 #382C7E #7E2C49
split-complementary
#727E2C #2C497E #612C7E
monochromatic
#20230C #49511C #727E2C #9BAB3C #B7C75E

Accessibility & contrast

On white

4.43
#727E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#727E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727E2C
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727E2C#FFFFFF#000000##000000
##727E2C1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867722
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#79776D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #727e2c;
/* rgb */ color: rgb(114, 126, 44);
/* oklch */ color: oklch(56.6% 0.107 117.0);
Tailwind
colors: {
  custom: {
    50: '#9da369',
    500: '#727e2c',
    950: '#000000',
  },
}
SCSS
$custom: #727e2c;
$custom-light: #9da369;
$custom-dark: #000000;
JSON
{
  "hex": "#727e2c",
  "rgb": {
    "r": 114,
    "g": 126,
    "b": 44
  },
  "hsl": {
    "h": 68.78,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56598,
    "c": 0.10691,
    "h": 117
  },
  "luminance": 0.18681
}

Semantic roles & 50–950 ramp

primary
#727E2C
secondary
#6559AD
accent
#50D864
background
#F9FAF6
surface
#F2F3EB
border
#CCCDC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #727E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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