#485F12#485F12

#485F12 is a mid, moderate yellow-green. Relative luminance 0.096; OKLCH L 45.1% C 0.104 H 125.3°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#485F12
RGBrgb(72, 95, 18)
HSLhsl(78, 68%, 22%)
HSVhsv(78, 81%, 37%)
CMYKcmyk(24.2%, 0%, 81.1%, 62.7%)
CIE-LABlab(37.13, -20.67, 38.27)
CIE-LCHlch(37.13, 43.49, 118.38°)
OKLaboklab(45.1% -0.06 0.0847)
OKLCHoklch(45.1% 0.104 125.3)
XYZxyz(6.8739, 9.6057, 2.0641)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#485F12 #29125F
analogous
#5F5012 #485F12 #225F12
triadic
#485F12 #12485F #5F1248
tetradic
#485F12 #125F50 #29125F #5F1222
square
#485F12 #125F50 #29125F #5F1222
split-complementary
#485F12 #12225F #50125F
monochromatic
#131A05 #212C08 #485F12 #6F921C #96C625

Accessibility & contrast

On white

7.19
#485F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#485F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #485F12
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##485F12#FFFFFF#000000##FFFFFF
##485F121.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655802
Deuteranopia (green-blind)
#625719
Tritanopia (blue-blind)
#4C5A51
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #485f12;
/* rgb */ color: rgb(72, 95, 18);
/* oklch */ color: oklch(45.1% 0.104 125.3);
Tailwind
colors: {
  custom: {
    50: '#7e8c57',
    500: '#485f12',
    950: '#000000',
  },
}
SCSS
$custom: #485f12;
$custom-light: #7e8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#485f12",
  "rgb": {
    "r": 72,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 77.922,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.45097,
    "c": 0.10377,
    "h": 125.3
  },
  "luminance": 0.09606
}

Semantic roles & 50–950 ramp

primary
#485F12
secondary
#533697
accent
#3DEB71
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #485F12

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

Preview Lab → · Contrast checker → · Palette generator →

#485F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva