#68751B#68751B

#68751B is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.4% C 0.112 H 117.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#68751B
RGBrgb(104, 117, 27)
HSLhsl(69, 63%, 28%)
HSVhsv(69, 77%, 46%)
CMYKcmyk(11.1%, 0%, 76.9%, 54.1%)
CIE-LABlab(46.64, -17.30, 44.83)
CIE-LCHlch(46.64, 48.06, 111.10°)
OKLaboklab(53.41% -0.0519 0.0992)
OKLCHoklch(53.41% 0.112 117.6)
XYZxyz(12.2683, 15.7449, 3.4295)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68751B #281B75
analogous
#75551B #68751B #3B751B
triadic
#68751B #1B6875 #751B68
tetradic
#68751B #1B7555 #281B75 #751B3B
square
#68751B #1B7555 #281B75 #751B3B
split-complementary
#68751B #1B3B75 #551B75
monochromatic
#161906 #3C4310 #68751B #94A726 #BBD139

Accessibility & contrast

On white

5.06
#68751B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#68751B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #68751B
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68751B#FFFFFF#000000##FFFFFF
##68751B1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E08
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#6F6E64
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #68751b;
/* rgb */ color: rgb(104, 117, 27);
/* oklch */ color: oklch(53.4% 0.112 117.6);
Tailwind
colors: {
  custom: {
    50: '#969c5f',
    500: '#68751b',
    950: '#000000',
  },
}
SCSS
$custom: #68751b;
$custom-light: #969c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#68751b",
  "rgb": {
    "r": 104,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 68.667,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53406,
    "c": 0.11193,
    "h": 117.6
  },
  "luminance": 0.15745
}

Semantic roles & 50–950 ramp

primary
#68751B
secondary
#5142A9
accent
#42E65A
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #68751B

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

Preview Lab → · Contrast checker → · Palette generator →

#68751B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva