#6B901F#6B901F

#6B901F is a mid, vivid yellow-green. Relative luminance 0.232; OKLCH L 60.4% C 0.142 H 126.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#6B901F
RGBrgb(107, 144, 31)
HSLhsl(80, 65%, 34%)
HSVhsv(80, 78%, 56%)
CMYKcmyk(25.7%, 0%, 78.5%, 43.5%)
CIE-LABlab(55.25, -29.40, 51.65)
CIE-LCHlch(55.25, 59.43, 119.65°)
OKLaboklab(60.43% -0.0849 0.1141)
OKLCHoklch(60.43% 0.142 126.6)
XYZxyz(16.2841, 23.1710, 4.9106)
Luminance0.2317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B901F #441F90
analogous
#907D1F #6B901F #33901F
triadic
#6B901F #1F6B90 #901F6B
tetradic
#6B901F #1F907D #441F90 #901F33
square
#6B901F #1F907D #441F90 #901F33
split-complementary
#6B901F #1F3390 #7D1F90
monochromatic
#202B09 #465E14 #6B901F #90C22A #ACD950

Accessibility & contrast

On white

3.73
#6B901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#6B901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B901F
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B901F#FFFFFF#000000##000000
##6B901F1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988601
Deuteranopia (green-blind)
#93842A
Tritanopia (blue-blind)
#70897B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6b901f;
/* rgb */ color: rgb(107, 144, 31);
/* oklch */ color: oklch(60.4% 0.142 126.6);
Tailwind
colors: {
  custom: {
    50: '#99b064',
    500: '#6b901f',
    950: '#000000',
  },
}
SCSS
$custom: #6b901f;
$custom-light: #99b064;
$custom-dark: #000000;
JSON
{
  "hex": "#6b901f",
  "rgb": {
    "r": 107,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 79.646,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60426,
    "c": 0.14227,
    "h": 126.6
  },
  "luminance": 0.23171
}

Semantic roles & 50–950 ramp

primary
#6B901F
secondary
#724EBC
accent
#40E877
background
#F9FAF6
surface
#F2F5EB
border
#CCCFC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B901F

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

Preview Lab → · Contrast checker → · Palette generator →

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