#4A681F#4A681F

#4A681F is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 47.8% C 0.106 H 129.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4A681F
RGBrgb(74, 104, 31)
HSLhsl(85, 54%, 26%)
HSVhsv(85, 70%, 41%)
CMYKcmyk(28.8%, 0%, 70.2%, 59.2%)
CIE-LABlab(40.34, -23.51, 36.16)
CIE-LCHlch(40.34, 43.13, 123.03°)
OKLaboklab(47.77% -0.0667 0.0824)
OKLCHoklch(47.77% 0.106 129)
XYZxyz(8.0216, 11.4552, 3.0845)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A681F #3D1F68
analogous
#68621F #4A681F #26681F
triadic
#4A681F #1F4A68 #681F4A
tetradic
#4A681F #1F6862 #3D1F68 #681F26
square
#4A681F #1F6862 #3D1F68 #681F26
split-complementary
#4A681F #1F2668 #621F68
monochromatic
#111807 #283911 #4A681F #6C972D #8DC53C

Accessibility & contrast

On white

6.38
#4A681F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4A681F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A681F
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A681F#FFFFFF#000000##FFFFFF
##4A681F1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6015
Deuteranopia (green-blind)
#695E25
Tritanopia (blue-blind)
#4C6359
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4a681f;
/* rgb */ color: rgb(74, 104, 31);
/* oklch */ color: oklch(47.8% 0.106 129.0);
Tailwind
colors: {
  custom: {
    50: '#7f935f',
    500: '#4a681f',
    950: '#000000',
  },
}
SCSS
$custom: #4a681f;
$custom-light: #7f935f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a681f",
  "rgb": {
    "r": 74,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 84.658,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47767,
    "c": 0.106,
    "h": 129
  },
  "luminance": 0.11455
}

Semantic roles & 50–950 ramp

primary
#4A681F
secondary
#6A469C
accent
#4ADD87
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #4A681F

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

Preview Lab → · Contrast checker → · Palette generator →

#4A681F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva