#7E691B#7E691B

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

Color values

HEX#7E691B
RGBrgb(126, 105, 27)
HSLhsl(47, 65%, 30%)
HSVhsv(47, 79%, 49%)
CMYKcmyk(0%, 16.7%, 78.6%, 50.6%)
CIE-LABlab(45.11, -0.25, 44.10)
CIE-LCHlch(45.11, 44.10, 90.33°)
OKLaboklab(52.68% -0.0054 0.0967)
OKLCHoklch(52.68% 0.097 93.2)
XYZxyz(13.8544, 14.6187, 3.1287)
Luminance0.1462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E691B #1B307E
analogous
#7E381B #7E691B #617E1B
triadic
#7E691B #1B7E69 #691B7E
tetradic
#7E691B #1B7E38 #1B307E #7E1B61
square
#7E691B #1B7E38 #1B307E #7E1B61
split-complementary
#7E691B #1B617E #381B7E
monochromatic
#191505 #4C3F10 #7E691B #B09326 #D6B53E

Accessibility & contrast

On white

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

On black

3.92
#7E691B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E691B#FFFFFF#000000##FFFFFF
##7E691B1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670D
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#89605A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e691b;
/* rgb */ color: rgb(126, 105, 27);
/* oklch */ color: oklch(52.7% 0.097 93.2);
Tailwind
colors: {
  custom: {
    50: '#a7935e',
    500: '#7e691b',
    950: '#000000',
  },
}
SCSS
$custom: #7e691b;
$custom-light: #a7935e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e691b",
  "rgb": {
    "r": 126,
    "g": 105,
    "b": 27
  },
  "hsl": {
    "h": 47.273,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.52676,
    "c": 0.09687,
    "h": 93.2
  },
  "luminance": 0.14618
}

Semantic roles & 50–950 ramp

primary
#7E691B
secondary
#435AB2
accent
#64E840
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7E691B

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

Preview Lab → · Contrast checker → · Palette generator →

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