#747F18#747F18

#747F18 is a mid, vivid yellow. Relative luminance 0.190; OKLCH L 56.9% C 0.121 H 115.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#747F18
RGBrgb(116, 127, 24)
HSLhsl(66, 68%, 30%)
HSVhsv(66, 81%, 50%)
CMYKcmyk(8.7%, 0%, 81.1%, 50.2%)
CIE-LABlab(50.64, -17.29, 49.91)
CIE-LCHlch(50.64, 52.82, 109.11°)
OKLaboklab(56.86% -0.0528 0.1089)
OKLCHoklch(56.86% 0.121 115.9)
XYZxyz(14.9571, 18.9579, 3.7353)
Luminance0.1896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#747F18 #23187F
analogous
#7F5718 #747F18 #407F18
triadic
#747F18 #18747F #7F1874
tetradic
#747F18 #187F57 #23187F #7F1840
square
#747F18 #187F57 #23187F #7F1840
split-complementary
#747F18 #18407F #57187F
monochromatic
#181A05 #454C0E #747F18 #A3B222 #C8D938

Accessibility & contrast

On white

4.38
#747F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#747F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #747F18
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##747F18#FFFFFF#000000##000000
##747F181.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#887922
Tritanopia (blue-blind)
#7C776C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #747f18;
/* rgb */ color: rgb(116, 127, 24);
/* oklch */ color: oklch(56.9% 0.121 115.9);
Tailwind
colors: {
  custom: {
    50: '#9fa45f',
    500: '#747f18',
    950: '#000000',
  },
}
SCSS
$custom: #747f18;
$custom-light: #9fa45f;
$custom-dark: #000000;
JSON
{
  "hex": "#747f18",
  "rgb": {
    "r": 116,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 66.408,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56856,
    "c": 0.12106,
    "h": 115.9
  },
  "luminance": 0.18958
}

Semantic roles & 50–950 ramp

primary
#747F18
secondary
#4C3FB3
accent
#3DEB4F
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #747F18

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

Preview Lab → · Contrast checker → · Palette generator →

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