#727312#727312

#727312 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.7% C 0.111 H 110.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#727312
RGBrgb(114, 115, 18)
HSLhsl(61, 73%, 26%)
HSVhsv(61, 84%, 45%)
CMYKcmyk(0.9%, 0%, 84.3%, 54.9%)
CIE-LABlab(46.82, -11.98, 48.29)
CIE-LCHlch(46.82, 49.75, 103.93°)
OKLaboklab(53.75% -0.0385 0.1044)
OKLCHoklch(53.75% 0.111 110.3)
XYZxyz(13.1798, 15.8829, 2.9436)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727312 #131273
analogous
#734312 #727312 #417312
triadic
#727312 #127273 #731272
tetradic
#727312 #127343 #131273 #731241
square
#727312 #127343 #131273 #731241
split-complementary
#727312 #124173 #431273
monochromatic
#1A1A04 #3E3E0A #727312 #A6A81A #DBDD23

Accessibility & contrast

On white

5.03
#727312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#727312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #727312
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727312#FFFFFF#000000##FFFFFF
##7273121.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7E701B
Tritanopia (blue-blind)
#7B6B62
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #727312;
/* rgb */ color: rgb(114, 115, 18);
/* oklch */ color: oklch(53.7% 0.111 110.3);
Tailwind
colors: {
  custom: {
    50: '#9e9b5b',
    500: '#727312',
    950: '#000000',
  },
}
SCSS
$custom: #727312;
$custom-light: #9e9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#727312",
  "rgb": {
    "r": 114,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 60.619,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.53745,
    "c": 0.11127,
    "h": 110.3
  },
  "luminance": 0.15883
}

Semantic roles & 50–950 ramp

primary
#727312
secondary
#3837AA
accent
#38F03A
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0E04
muted
#7F7E79

Preview Lab

Preview with #727312

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

Preview Lab → · Contrast checker → · Palette generator →

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