#6B751C#6B751C

#6B751C is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.7% C 0.110 H 115.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#6B751C
RGBrgb(107, 117, 28)
HSLhsl(67, 61%, 28%)
HSVhsv(67, 76%, 46%)
CMYKcmyk(8.5%, 0%, 76.1%, 54.1%)
CIE-LABlab(46.89, -15.88, 44.78)
CIE-LCHlch(46.89, 47.52, 109.52°)
OKLaboklab(53.67% -0.0481 0.0991)
OKLCHoklch(53.67% 0.11 115.9)
XYZxyz(12.6346, 15.9324, 3.5081)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B751C #261C75
analogous
#75521C #6B751C #3E751C
triadic
#6B751C #1C6B75 #751C6B
tetradic
#6B751C #1C7552 #261C75 #751C3E
square
#6B751C #1C7552 #261C75 #751C3E
split-complementary
#6B751C #1C3E75 #521C75
monochromatic
#171906 #3E4410 #6B751C #98A628 #BFD03B

Accessibility & contrast

On white

5.02
#6B751C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#6B751C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B751C
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B751C#FFFFFF#000000##FFFFFF
##6B751C1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b751c;
/* rgb */ color: rgb(107, 117, 28);
/* oklch */ color: oklch(53.7% 0.110 115.9);
Tailwind
colors: {
  custom: {
    50: '#989c5f',
    500: '#6b751c',
    950: '#000000',
  },
}
SCSS
$custom: #6b751c;
$custom-light: #989c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b751c",
  "rgb": {
    "r": 107,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 66.742,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53668,
    "c": 0.11017,
    "h": 115.9
  },
  "luminance": 0.15932
}

Semantic roles & 50–950 ramp

primary
#6B751C
secondary
#4F44A9
accent
#43E455
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6B751C

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

Preview Lab → · Contrast checker → · Palette generator →

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