#6A931C#6A931C

#6A931C is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 61.1% C 0.148 H 127.6°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6A931C
RGBrgb(106, 147, 28)
HSLhsl(81, 68%, 34%)
HSVhsv(81, 81%, 58%)
CMYKcmyk(27.9%, 0%, 81%, 42.4%)
CIE-LABlab(56.10, -31.37, 53.37)
CIE-LCHlch(56.10, 61.91, 120.45°)
OKLaboklab(61.1% -0.0904 0.1173)
OKLCHoklch(61.1% 0.148 127.6)
XYZxyz(16.5872, 24.0151, 4.8598)
Luminance0.2402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A931C #451C93
analogous
#93811C #6A931C #2F931C
triadic
#6A931C #1C6A93 #931C6A
tetradic
#6A931C #1C9381 #451C93 #931C2F
square
#6A931C #1C9381 #451C93 #931C2F
split-complementary
#6A931C #1C2F93 #811C93
monochromatic
#202C08 #456012 #6A931C #8FC626 #ABDD4C

Accessibility & contrast

On white

3.62
#6A931C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#6A931C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A931C
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A931C#FFFFFF#000000##000000
##6A931C1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a931c;
/* rgb */ color: rgb(106, 147, 28);
/* oklch */ color: oklch(61.1% 0.148 127.6);
Tailwind
colors: {
  custom: {
    50: '#99b364',
    500: '#6a931c',
    950: '#000000',
  },
}
SCSS
$custom: #6a931c;
$custom-light: #99b364;
$custom-dark: #000000;
JSON
{
  "hex": "#6a931c",
  "rgb": {
    "r": 106,
    "g": 147,
    "b": 28
  },
  "hsl": {
    "h": 80.672,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61099,
    "c": 0.1481,
    "h": 127.6
  },
  "luminance": 0.24015
}

Semantic roles & 50–950 ramp

primary
#6A931C
secondary
#734CBF
accent
#3DEB79
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6A931C

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

Preview Lab → · Contrast checker → · Palette generator →

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