#727E18#727E18

#727E18 is a mid, vivid yellow. Relative luminance 0.186; OKLCH L 56.4% C 0.121 H 116.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#727E18
RGBrgb(114, 126, 24)
HSLhsl(67, 68%, 29%)
HSVhsv(67, 81%, 49%)
CMYKcmyk(9.5%, 0%, 81%, 50.6%)
CIE-LABlab(50.17, -17.67, 49.43)
CIE-LCHlch(50.17, 52.49, 109.67°)
OKLaboklab(56.44% -0.0538 0.108)
OKLCHoklch(56.44% 0.121 116.5)
XYZxyz(14.5655, 18.5653, 3.6801)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727E18 #24187E
analogous
#7E5718 #727E18 #3F7E18
triadic
#727E18 #18727E #7E1872
tetradic
#727E18 #187E57 #24187E #7E183F
square
#727E18 #187E57 #24187E #7E183F
split-complementary
#727E18 #183F7E #57187E
monochromatic
#171A05 #434B0E #727E18 #A1B122 #C6D937

Accessibility & contrast

On white

4.46
#727E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#727E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727E18
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727E18#FFFFFF#000000##000000
##727E181.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#867822
Tritanopia (blue-blind)
#7A766B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #727e18;
/* rgb */ color: rgb(114, 126, 24);
/* oklch */ color: oklch(56.4% 0.121 116.5);
Tailwind
colors: {
  custom: {
    50: '#9ea35f',
    500: '#727e18',
    950: '#000000',
  },
}
SCSS
$custom: #727e18;
$custom-light: #9ea35f;
$custom-dark: #000000;
JSON
{
  "hex": "#727e18",
  "rgb": {
    "r": 114,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 67.059,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56443,
    "c": 0.12062,
    "h": 116.5
  },
  "luminance": 0.18565
}

Semantic roles & 50–950 ramp

primary
#727E18
secondary
#4D3FB2
accent
#3DEB51
background
#FAFAF5
surface
#F3F3EA
border
#CDCDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #727E18

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

Preview Lab → · Contrast checker → · Palette generator →

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