#6B941B#6B941B

#6B941B is a mid, vivid yellow-green. Relative luminance 0.244; OKLCH L 61.4% C 0.149 H 127.5°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#6B941B
RGBrgb(107, 148, 27)
HSLhsl(80, 69%, 34%)
HSVhsv(80, 82%, 58%)
CMYKcmyk(27.7%, 0%, 81.8%, 42%)
CIE-LABlab(56.47, -31.48, 54.03)
CIE-LCHlch(56.47, 62.53, 120.23°)
OKLaboklab(61.41% -0.0909 0.1185)
OKLCHoklch(61.41% 0.149 127.5)
XYZxyz(16.8512, 24.3844, 4.8555)
Luminance0.2439 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B941B #441B94
analogous
#94811B #6B941B #2E941B
triadic
#6B941B #1B6B94 #941B6B
tetradic
#6B941B #1B9481 #441B94 #941B2E
square
#6B941B #1B9481 #441B94 #941B2E
split-complementary
#6B941B #1B2E94 #811B94
monochromatic
#202C08 #466012 #6B941B #90C824 #ACDE4B

Accessibility & contrast

On white

3.57
#6B941B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#6B941B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B941B
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B941B#FFFFFF#000000##000000
##6B941B1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#968728
Tritanopia (blue-blind)
#6F8D7E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #6b941b;
/* rgb */ color: rgb(107, 148, 27);
/* oklch */ color: oklch(61.4% 0.149 127.5);
Tailwind
colors: {
  custom: {
    50: '#99b363',
    500: '#6b941b',
    950: '#000000',
  },
}
SCSS
$custom: #6b941b;
$custom-light: #99b363;
$custom-dark: #000000;
JSON
{
  "hex": "#6b941b",
  "rgb": {
    "r": 107,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 80.331,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61412,
    "c": 0.14931,
    "h": 127.5
  },
  "luminance": 0.24385
}

Semantic roles & 50–950 ramp

primary
#6B941B
secondary
#724BC0
accent
#3CEC78
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6B941B

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

Preview Lab → · Contrast checker → · Palette generator →

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