#6A751B#6A751B

#6A751B is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.6% C 0.111 H 116.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6A751B
RGBrgb(106, 117, 27)
HSLhsl(67, 63%, 28%)
HSVhsv(67, 77%, 46%)
CMYKcmyk(9.4%, 0%, 76.9%, 54.1%)
CIE-LABlab(46.80, -16.39, 45.04)
CIE-LCHlch(46.80, 47.93, 110.00°)
OKLaboklab(53.58% -0.0495 0.0995)
OKLCHoklch(53.58% 0.111 116.4)
XYZxyz(12.5033, 15.8661, 3.4405)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A751B #261B75
analogous
#75531B #6A751B #3D751B
triadic
#6A751B #1B6A75 #751B6A
tetradic
#6A751B #1B7553 #261B75 #751B3D
square
#6A751B #1B7553 #261B75 #751B3D
split-complementary
#6A751B #1B3D75 #531B75
monochromatic
#171906 #3D4310 #6A751B #97A726 #BFD139

Accessibility & contrast

On white

5.03
#6A751B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#6A751B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A751B
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A751B#FFFFFF#000000##FFFFFF
##6A751B1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F08
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#716E64
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6a751b;
/* rgb */ color: rgb(106, 117, 27);
/* oklch */ color: oklch(53.6% 0.111 116.4);
Tailwind
colors: {
  custom: {
    50: '#979c5f',
    500: '#6a751b',
    950: '#000000',
  },
}
SCSS
$custom: #6a751b;
$custom-light: #979c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a751b",
  "rgb": {
    "r": 106,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 67.333,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53575,
    "c": 0.11117,
    "h": 116.4
  },
  "luminance": 0.15866
}

Semantic roles & 50–950 ramp

primary
#6A751B
secondary
#4F42A9
accent
#42E656
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6A751B

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

Preview Lab → · Contrast checker → · Palette generator →

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