#727F18#727F18

#727F18 is a mid, vivid yellow. Relative luminance 0.188; OKLCH L 56.7% C 0.122 H 117.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#727F18
RGBrgb(114, 127, 24)
HSLhsl(68, 68%, 30%)
HSVhsv(68, 81%, 50%)
CMYKcmyk(10.2%, 0%, 81.1%, 50.2%)
CIE-LABlab(50.48, -18.19, 49.70)
CIE-LCHlch(50.48, 52.93, 110.10°)
OKLaboklab(56.69% -0.0552 0.1086)
OKLCHoklch(56.69% 0.122 117)
XYZxyz(14.6941, 18.8223, 3.7230)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727F18 #25187F
analogous
#7F5918 #727F18 #3E7F18
triadic
#727F18 #18727F #7F1872
tetradic
#727F18 #187F59 #25187F #7F183E
square
#727F18 #187F59 #25187F #7F183E
split-complementary
#727F18 #183E7F #59187F
monochromatic
#171A05 #444C0E #727F18 #A0B222 #C5D938

Accessibility & contrast

On white

4.41
#727F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#727F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727F18
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727F18#FFFFFF#000000##000000
##727F181.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#877922
Tritanopia (blue-blind)
#7A776C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #727f18;
/* rgb */ color: rgb(114, 127, 24);
/* oklch */ color: oklch(56.7% 0.122 117.0);
Tailwind
colors: {
  custom: {
    50: '#9ea45f',
    500: '#727f18',
    950: '#000000',
  },
}
SCSS
$custom: #727f18;
$custom-light: #9ea45f;
$custom-dark: #000000;
JSON
{
  "hex": "#727f18",
  "rgb": {
    "r": 114,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 67.573,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56688,
    "c": 0.12179,
    "h": 117
  },
  "luminance": 0.18822
}

Semantic roles & 50–950 ramp

primary
#727F18
secondary
#4E3FB3
accent
#3DEB53
background
#FAFAF5
surface
#F3F3EA
border
#CDCDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #727F18

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

Preview Lab → · Contrast checker → · Palette generator →

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