#7E691F#7E691F

#7E691F is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.7% C 0.094 H 92.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7E691F
RGBrgb(126, 105, 31)
HSLhsl(47, 61%, 31%)
HSVhsv(47, 75%, 49%)
CMYKcmyk(0%, 16.7%, 75.4%, 50.6%)
CIE-LABlab(45.13, -0.06, 42.49)
CIE-LCHlch(45.13, 42.49, 90.08°)
OKLaboklab(52.71% -0.0043 0.0942)
OKLCHoklch(52.71% 0.094 92.6)
XYZxyz(13.9038, 14.6385, 3.3892)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E691F #1F347E
analogous
#7E391F #7E691F #637E1F
triadic
#7E691F #1F7E69 #691F7E
tetradic
#7E691F #1F7E39 #1F347E #7E1F63
square
#7E691F #1F7E39 #1F347E #7E1F63
split-complementary
#7E691F #1F637E #391F7E
monochromatic
#1C1707 #4D4013 #7E691F #AF922B #D1B346

Accessibility & contrast

On white

5.35
#7E691F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7E691F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E691F
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E691F#FFFFFF#000000##FFFFFF
##7E691F1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756714
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#89605A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e691f;
/* rgb */ color: rgb(126, 105, 31);
/* oklch */ color: oklch(52.7% 0.094 92.6);
Tailwind
colors: {
  custom: {
    50: '#a79360',
    500: '#7e691f',
    950: '#000000',
  },
}
SCSS
$custom: #7e691f;
$custom-light: #a79360;
$custom-dark: #000000;
JSON
{
  "hex": "#7e691f",
  "rgb": {
    "r": 126,
    "g": 105,
    "b": 31
  },
  "hsl": {
    "h": 46.737,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52707,
    "c": 0.09426,
    "h": 92.6
  },
  "luminance": 0.14638
}

Semantic roles & 50–950 ramp

primary
#7E691F
secondary
#485FB1
accent
#67E444
background
#FAF9F5
surface
#F4F1EA
border
#CECBC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7E691F

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

Preview Lab → · Contrast checker → · Palette generator →

#7E691F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva