#6A901F#6A901F

#6A901F is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 60.4% C 0.143 H 127.0°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#6A901F
RGBrgb(106, 144, 31)
HSLhsl(80, 65%, 34%)
HSVhsv(80, 78%, 56%)
CMYKcmyk(26.4%, 0%, 78.5%, 43.5%)
CIE-LABlab(55.18, -29.81, 51.57)
CIE-LCHlch(55.18, 59.57, 120.03°)
OKLaboklab(60.36% -0.086 0.114)
OKLCHoklch(60.36% 0.143 127)
XYZxyz(16.1645, 23.1093, 4.9050)
Luminance0.2311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A901F #451F90
analogous
#907E1F #6A901F #32901F
triadic
#6A901F #1F6A90 #901F6A
tetradic
#6A901F #1F907E #451F90 #901F32
square
#6A901F #1F907E #451F90 #901F32
split-complementary
#6A901F #1F3290 #7E1F90
monochromatic
#202B09 #455E14 #6A901F #8FC22A #ABD950

Accessibility & contrast

On white

3.74
#6A901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#6A901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A901F
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A901F#FFFFFF#000000##000000
##6A901F1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988601
Deuteranopia (green-blind)
#93832A
Tritanopia (blue-blind)
#6E897B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6a901f;
/* rgb */ color: rgb(106, 144, 31);
/* oklch */ color: oklch(60.4% 0.143 127.0);
Tailwind
colors: {
  custom: {
    50: '#98b064',
    500: '#6a901f',
    950: '#000000',
  },
}
SCSS
$custom: #6a901f;
$custom-light: #98b064;
$custom-dark: #000000;
JSON
{
  "hex": "#6a901f",
  "rgb": {
    "r": 106,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 80.177,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60358,
    "c": 0.14277,
    "h": 127
  },
  "luminance": 0.2311
}

Semantic roles & 50–950 ramp

primary
#6A901F
secondary
#734EBC
accent
#40E879
background
#F9FAF6
surface
#F2F5EB
border
#CCCFC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6A901F

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

Preview Lab → · Contrast checker → · Palette generator →

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