#7D6927#7D6927

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

Color values

HEX#7D6927
RGBrgb(125, 105, 39)
HSLhsl(46, 52%, 32%)
HSVhsv(46, 69%, 49%)
CMYKcmyk(0%, 16%, 68.8%, 51%)
CIE-LABlab(45.10, -0.07, 38.81)
CIE-LCHlch(45.10, 38.81, 90.10°)
OKLaboklab(52.67% -0.0033 0.0879)
OKLCHoklch(52.67% 0.088 92.1)
XYZxyz(13.8759, 14.6104, 4.0083)
Luminance0.1461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6927 #273B7D
analogous
#7D3E27 #7D6927 #667D27
triadic
#7D6927 #277D69 #69277D
tetradic
#7D6927 #277D3E #273B7D #7D2766
square
#7D6927 #277D3E #273B7D #7D2766
split-complementary
#7D6927 #27667D #3E277D
monochromatic
#201B0A #4E4218 #7D6927 #AC9036 #CAAF55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D6927#FFFFFF#000000##FFFFFF
##7D69271.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)
#74671F
Deuteranopia (green-blind)
#796D2A
Tritanopia (blue-blind)
#87615B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d6927;
/* rgb */ color: rgb(125, 105, 39);
/* oklch */ color: oklch(52.7% 0.088 92.1);
Tailwind
colors: {
  custom: {
    50: '#a59365',
    500: '#7d6927',
    950: '#000000',
  },
}
SCSS
$custom: #7d6927;
$custom-light: #a59365;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6927",
  "rgb": {
    "r": 125,
    "g": 105,
    "b": 39
  },
  "hsl": {
    "h": 46.047,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52673,
    "c": 0.08798,
    "h": 92.1
  },
  "luminance": 0.1461
}

Semantic roles & 50–950 ramp

primary
#7D6927
secondary
#5167AF
accent
#6DDC4C
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7D6927

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

Preview Lab → · Contrast checker → · Palette generator →

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