#6A941B#6A941B

#6A941B is a mid, vivid yellow-green. Relative luminance 0.243; OKLCH L 61.3% C 0.150 H 127.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#6A941B
RGBrgb(106, 148, 27)
HSLhsl(81, 69%, 34%)
HSVhsv(81, 82%, 58%)
CMYKcmyk(28.4%, 0%, 81.8%, 42%)
CIE-LABlab(56.41, -31.89, 53.95)
CIE-LCHlch(56.41, 62.67, 120.59°)
OKLaboklab(61.35% -0.0919 0.1184)
OKLCHoklch(61.35% 0.15 127.8)
XYZxyz(16.7316, 24.3227, 4.8499)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A941B #451B94
analogous
#94821B #6A941B #2E941B
triadic
#6A941B #1B6A94 #941B6A
tetradic
#6A941B #1B9482 #451B94 #941B2E
square
#6A941B #1B9482 #451B94 #941B2E
split-complementary
#6A941B #1B2E94 #821B94
monochromatic
#202C08 #456012 #6A941B #8FC824 #ABDE4B

Accessibility & contrast

On white

3.58
#6A941B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#6A941B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A941B
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A941B#FFFFFF#000000##000000
##6A941B1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a941b;
/* rgb */ color: rgb(106, 148, 27);
/* oklch */ color: oklch(61.3% 0.150 127.8);
Tailwind
colors: {
  custom: {
    50: '#99b363',
    500: '#6a941b',
    950: '#000000',
  },
}
SCSS
$custom: #6a941b;
$custom-light: #99b363;
$custom-dark: #000000;
JSON
{
  "hex": "#6a941b",
  "rgb": {
    "r": 106,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 80.826,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61347,
    "c": 0.14983,
    "h": 127.8
  },
  "luminance": 0.24323
}

Semantic roles & 50–950 ramp

primary
#6A941B
secondary
#734BC0
accent
#3CEC79
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6A941B

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

Preview Lab → · Contrast checker → · Palette generator →

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