#6E792B#6E792B

#6E792B is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.0% C 0.103 H 116.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6E792B
RGBrgb(110, 121, 43)
HSLhsl(68, 48%, 32%)
HSVhsv(68, 64%, 47%)
CMYKcmyk(9.1%, 0%, 64.5%, 52.5%)
CIE-LABlab(48.47, -15.69, 40.13)
CIE-LCHlch(48.47, 43.08, 111.35°)
OKLaboklab(55.03% -0.0461 0.0918)
OKLCHoklch(55.03% 0.103 116.7)
XYZxyz(13.7041, 17.1643, 4.8761)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E792B #362B79
analogous
#795D2B #6E792B #47792B
triadic
#6E792B #2B6E79 #792B6E
tetradic
#6E792B #2B795D #362B79 #792B47
square
#6E792B #2B795D #362B79 #792B47
split-complementary
#6E792B #2B4779 #5D2B79
monochromatic
#1C1F0B #454C1B #6E792B #97A63B #B5C45A

Accessibility & contrast

On white

4.74
#6E792B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#6E792B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E792B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E792B#FFFFFF#000000##FFFFFF
##6E792B1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817322
Deuteranopia (green-blind)
#807430
Tritanopia (blue-blind)
#757269
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6e792b;
/* rgb */ color: rgb(110, 121, 43);
/* oklch */ color: oklch(55.0% 0.103 116.7);
Tailwind
colors: {
  custom: {
    50: '#9a9f68',
    500: '#6e792b',
    950: '#000000',
  },
}
SCSS
$custom: #6e792b;
$custom-light: #9a9f68;
$custom-dark: #000000;
JSON
{
  "hex": "#6e792b",
  "rgb": {
    "r": 110,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 68.462,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55034,
    "c": 0.10272,
    "h": 116.7
  },
  "luminance": 0.17164
}

Semantic roles & 50–950 ramp

primary
#6E792B
secondary
#6256AA
accent
#51D764
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E06
muted
#7E7E7A

Preview Lab

Preview with #6E792B

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

Preview Lab → · Contrast checker → · Palette generator →

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