#648312#648312

#648312 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.6% C 0.136 H 125.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#648312
RGBrgb(100, 131, 18)
HSLhsl(76, 76%, 29%)
HSVhsv(76, 86%, 51%)
CMYKcmyk(23.7%, 0%, 86.3%, 48.6%)
CIE-LABlab(50.67, -26.62, 51.20)
CIE-LCHlch(50.67, 57.70, 117.47°)
OKLaboklab(56.57% -0.0778 0.1112)
OKLCHoklch(56.57% 0.136 125)
XYZxyz(13.4811, 18.9854, 3.5265)
Luminance0.1899 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#648312 #311283
analogous
#836A12 #648312 #2C8312
triadic
#648312 #126483 #831264
tetradic
#648312 #12836A #311283 #83122C
square
#648312 #12836A #311283 #83122C
split-complementary
#648312 #122C83 #6A1283
monochromatic
#151B04 #3B4D0B #648312 #8DB919 #B1E22D

Accessibility & contrast

On white

4.38
#648312 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#648312 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #648312
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##648312#FFFFFF#000000##000000
##6483121.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#877820
Tritanopia (blue-blind)
#697C6F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #648312;
/* rgb */ color: rgb(100, 131, 18);
/* oklch */ color: oklch(56.6% 0.136 125.0);
Tailwind
colors: {
  custom: {
    50: '#94a75d',
    500: '#648312',
    950: '#000000',
  },
}
SCSS
$custom: #648312;
$custom-light: #94a75d;
$custom-dark: #000000;
JSON
{
  "hex": "#648312",
  "rgb": {
    "r": 100,
    "g": 131,
    "b": 18
  },
  "hsl": {
    "h": 76.46,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56574,
    "c": 0.13574,
    "h": 125
  },
  "luminance": 0.18986
}

Semantic roles & 50–950 ramp

primary
#648312
secondary
#5C38B8
accent
#35F269
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #648312

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

Preview Lab → · Contrast checker → · Palette generator →

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