#727218#727218

#727218 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.5% C 0.107 H 109.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#727218
RGBrgb(114, 114, 24)
HSLhsl(60, 65%, 27%)
HSVhsv(60, 79%, 45%)
CMYKcmyk(0%, 0%, 78.9%, 55.3%)
CIE-LABlab(46.55, -11.19, 46.13)
CIE-LCHlch(46.55, 47.47, 103.64°)
OKLaboklab(53.54% -0.0358 0.101)
OKLCHoklch(53.54% 0.107 109.5)
XYZxyz(13.1221, 15.6784, 3.1990)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727218 #181872
analogous
#724518 #727218 #457218
triadic
#727218 #187272 #721872
tetradic
#727218 #187245 #181872 #721845
square
#727218 #187245 #181872 #721845
split-complementary
#727218 #184572 #451872
monochromatic
#191905 #3F3F0D #727218 #A5A523 #D4D431

Accessibility & contrast

On white

5.08
#727218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#727218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #727218
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727218#FFFFFF#000000##FFFFFF
##7272181.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D03
Deuteranopia (green-blind)
#7D7020
Tritanopia (blue-blind)
#7B6A61
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #727218;
/* rgb */ color: rgb(114, 114, 24);
/* oklch */ color: oklch(53.5% 0.107 109.5);
Tailwind
colors: {
  custom: {
    50: '#9e9a5d',
    500: '#727218',
    950: '#000000',
  },
}
SCSS
$custom: #727218;
$custom-light: #9e9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#727218",
  "rgb": {
    "r": 114,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.53538,
    "c": 0.10712,
    "h": 109.5
  },
  "luminance": 0.15678
}

Semantic roles & 50–950 ramp

primary
#727218
secondary
#3E3EA7
accent
#40E840
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #727218

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

Preview Lab → · Contrast checker → · Palette generator →

#727218 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva