#6B931C#6B931C

#6B931C is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 61.2% C 0.148 H 127.3°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#6B931C
RGBrgb(107, 147, 28)
HSLhsl(80, 68%, 34%)
HSVhsv(80, 81%, 58%)
CMYKcmyk(27.2%, 0%, 81%, 42.4%)
CIE-LABlab(56.16, -30.97, 53.45)
CIE-LCHlch(56.16, 61.77, 120.09°)
OKLaboklab(61.17% -0.0894 0.1174)
OKLCHoklch(61.17% 0.148 127.3)
XYZxyz(16.7068, 24.0767, 4.8655)
Luminance0.2408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B931C #441C93
analogous
#93801C #6B931C #30931C
triadic
#6B931C #1C6B93 #931C6B
tetradic
#6B931C #1C9380 #441C93 #931C30
square
#6B931C #1C9380 #441C93 #931C30
split-complementary
#6B931C #1C3093 #801C93
monochromatic
#202C08 #466012 #6B931C #90C626 #ACDD4C

Accessibility & contrast

On white

3.61
#6B931C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#6B931C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B931C
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B931C#FFFFFF#000000##000000
##6B931C1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#958629
Tritanopia (blue-blind)
#6F8C7D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #6b931c;
/* rgb */ color: rgb(107, 147, 28);
/* oklch */ color: oklch(61.2% 0.148 127.3);
Tailwind
colors: {
  custom: {
    50: '#99b364',
    500: '#6b931c',
    950: '#000000',
  },
}
SCSS
$custom: #6b931c;
$custom-light: #99b364;
$custom-dark: #000000;
JSON
{
  "hex": "#6b931c",
  "rgb": {
    "r": 107,
    "g": 147,
    "b": 28
  },
  "hsl": {
    "h": 80.168,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61165,
    "c": 0.14759,
    "h": 127.3
  },
  "luminance": 0.24077
}

Semantic roles & 50–950 ramp

primary
#6B931C
secondary
#724CBF
accent
#3DEB77
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6B931C

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

Preview Lab → · Contrast checker → · Palette generator →

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