#727F27#727F27

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

Color values

HEX#727F27
RGBrgb(114, 127, 39)
HSLhsl(69, 53%, 33%)
HSVhsv(69, 69%, 50%)
CMYKcmyk(10.2%, 0%, 69.3%, 50.2%)
CIE-LABlab(50.57, -17.38, 44.21)
CIE-LCHlch(50.57, 47.51, 111.46°)
OKLaboklab(56.79% -0.0516 0.0997)
OKLCHoklch(56.79% 0.112 117.4)
XYZxyz(14.8953, 18.9028, 4.7830)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727F27 #34277F
analogous
#7F6027 #727F27 #467F27
triadic
#727F27 #27727F #7F2772
tetradic
#727F27 #277F60 #34277F #7F2746
square
#727F27 #277F60 #34277F #7F2746
split-complementary
#727F27 #27467F #60277F
monochromatic
#1E210A #485019 #727F27 #9CAE35 #BACB55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##727F27#FFFFFF#000000##000000
##727F271.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)
#88781A
Deuteranopia (green-blind)
#86792E
Tritanopia (blue-blind)
#79786D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #727f27;
/* rgb */ color: rgb(114, 127, 39);
/* oklch */ color: oklch(56.8% 0.112 117.4);
Tailwind
colors: {
  custom: {
    50: '#9da467',
    500: '#727f27',
    950: '#000000',
  },
}
SCSS
$custom: #727f27;
$custom-light: #9da467;
$custom-dark: #000000;
JSON
{
  "hex": "#727f27",
  "rgb": {
    "r": 114,
    "g": 127,
    "b": 39
  },
  "hsl": {
    "h": 68.864,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56794,
    "c": 0.11222,
    "h": 117.4
  },
  "luminance": 0.18903
}

Semantic roles & 50–950 ramp

primary
#727F27
secondary
#6052B0
accent
#4BDC61
background
#F9FAF6
surface
#F2F3EB
border
#CCCDC6
text
#0F0F06
muted
#7E7F7A

Preview Lab

Preview with #727F27

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

Preview Lab → · Contrast checker → · Palette generator →

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