#7F691B#7F691B

#7F691B is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.8% C 0.097 H 92.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7F691B
RGBrgb(127, 105, 27)
HSLhsl(47, 65%, 30%)
HSVhsv(47, 79%, 50%)
CMYKcmyk(0%, 17.3%, 78.7%, 50.2%)
CIE-LABlab(45.21, 0.22, 44.24)
CIE-LCHlch(45.21, 44.24, 89.71°)
OKLaboklab(52.79% -0.0041 0.097)
OKLCHoklch(52.79% 0.097 92.4)
XYZxyz(14.0026, 14.6952, 3.1356)
Luminance0.1469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F691B #1B317F
analogous
#7F371B #7F691B #637F1B
triadic
#7F691B #1B7F69 #691B7F
tetradic
#7F691B #1B7F37 #1B317F #7F1B63
square
#7F691B #1B7F37 #1B317F #7F1B63
split-complementary
#7F691B #1B637F #371B7F
monochromatic
#1A1606 #4D3F10 #7F691B #B19326 #D6B53E

Accessibility & contrast

On white

5.33
#7F691B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7F691B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F691B
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F691B#FFFFFF#000000##FFFFFF
##7F691B1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670D
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#8A605A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7f691b;
/* rgb */ color: rgb(127, 105, 27);
/* oklch */ color: oklch(52.8% 0.097 92.4);
Tailwind
colors: {
  custom: {
    50: '#a8935e',
    500: '#7f691b',
    950: '#000000',
  },
}
SCSS
$custom: #7f691b;
$custom-light: #a8935e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f691b",
  "rgb": {
    "r": 127,
    "g": 105,
    "b": 27
  },
  "hsl": {
    "h": 46.8,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52785,
    "c": 0.09706,
    "h": 92.4
  },
  "luminance": 0.14694
}

Semantic roles & 50–950 ramp

primary
#7F691B
secondary
#435CB3
accent
#65E840
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7F691B

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

Preview Lab → · Contrast checker → · Palette generator →

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