#6D931C#6D931C

#6D931C is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 61.3% C 0.147 H 126.6°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#6D931C
RGBrgb(109, 147, 28)
HSLhsl(79, 68%, 34%)
HSVhsv(79, 81%, 58%)
CMYKcmyk(25.9%, 0%, 81%, 42.4%)
CIE-LABlab(56.29, -30.16, 53.61)
CIE-LCHlch(56.29, 61.51, 119.36°)
OKLaboklab(61.3% -0.0873 0.1177)
OKLCHoklch(61.3% 0.147 126.6)
XYZxyz(16.9501, 24.2022, 4.8769)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D931C #421C93
analogous
#937E1C #6D931C #31931C
triadic
#6D931C #1C6D93 #931C6D
tetradic
#6D931C #1C937E #421C93 #931C31
square
#6D931C #1C937E #421C93 #931C31
split-complementary
#6D931C #1C3193 #7E1C93
monochromatic
#212C08 #476012 #6D931C #93C626 #AFDD4C

Accessibility & contrast

On white

3.60
#6D931C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#6D931C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D931C
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D931C#FFFFFF#000000##000000
##6D931C1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#968629
Tritanopia (blue-blind)
#728C7D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #6d931c;
/* rgb */ color: rgb(109, 147, 28);
/* oklch */ color: oklch(61.3% 0.147 126.6);
Tailwind
colors: {
  custom: {
    50: '#9bb364',
    500: '#6d931c',
    950: '#000000',
  },
}
SCSS
$custom: #6d931c;
$custom-light: #9bb364;
$custom-dark: #000000;
JSON
{
  "hex": "#6d931c",
  "rgb": {
    "r": 109,
    "g": 147,
    "b": 28
  },
  "hsl": {
    "h": 79.16,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61299,
    "c": 0.14656,
    "h": 126.6
  },
  "luminance": 0.24202
}

Semantic roles & 50–950 ramp

primary
#6D931C
secondary
#704CBF
accent
#3DEB74
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6D931C

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

Preview Lab → · Contrast checker → · Palette generator →

#6D931C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva