#658312#658312

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

Color values

HEX#658312
RGBrgb(101, 131, 18)
HSLhsl(76, 76%, 29%)
HSVhsv(76, 86%, 51%)
CMYKcmyk(22.9%, 0%, 86.3%, 48.6%)
CIE-LABlab(50.74, -26.19, 51.28)
CIE-LCHlch(50.74, 57.58, 117.05°)
OKLaboklab(56.65% -0.0767 0.1114)
OKLCHoklch(56.65% 0.135 124.6)
XYZxyz(13.5925, 19.0428, 3.5317)
Luminance0.1904 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#658312 #301283
analogous
#836912 #658312 #2D8312
triadic
#658312 #126583 #831265
tetradic
#658312 #128369 #301283 #83122D
square
#658312 #128369 #301283 #83122D
split-complementary
#658312 #122D83 #691283
monochromatic
#151B04 #3C4D0B #658312 #8EB919 #B2E22D

Accessibility & contrast

On white

4.37
#658312 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#658312 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #658312
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##658312#FFFFFF#000000##000000
##6583121.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#87781F
Tritanopia (blue-blind)
#6A7C6F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #658312;
/* rgb */ color: rgb(101, 131, 18);
/* oklch */ color: oklch(56.6% 0.135 124.6);
Tailwind
colors: {
  custom: {
    50: '#95a75d',
    500: '#658312',
    950: '#000000',
  },
}
SCSS
$custom: #658312;
$custom-light: #95a75d;
$custom-dark: #000000;
JSON
{
  "hex": "#658312",
  "rgb": {
    "r": 101,
    "g": 131,
    "b": 18
  },
  "hsl": {
    "h": 75.929,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56646,
    "c": 0.13524,
    "h": 124.6
  },
  "luminance": 0.19043
}

Semantic roles & 50–950 ramp

primary
#658312
secondary
#5A38B8
accent
#35F268
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #658312

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

Preview Lab → · Contrast checker → · Palette generator →

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