#7D6922#7D6922

#7D6922 is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.6% C 0.092 H 93.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7D6922
RGBrgb(125, 105, 34)
HSLhsl(47, 57%, 31%)
HSVhsv(47, 73%, 49%)
CMYKcmyk(0%, 16%, 72.8%, 51%)
CIE-LABlab(45.05, -0.37, 41.07)
CIE-LCHlch(45.05, 41.07, 90.52°)
OKLaboklab(52.63% -0.0048 0.0918)
OKLCHoklch(52.63% 0.092 93)
XYZxyz(13.7985, 14.5794, 3.6004)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6922 #22367D
analogous
#7D3B22 #7D6922 #637D22
triadic
#7D6922 #227D69 #69227D
tetradic
#7D6922 #227D3B #22367D #7D2263
square
#7D6922 #227D3B #22367D #7D2263
split-complementary
#7D6922 #22637D #3B227D
monochromatic
#1D1808 #4D4115 #7D6922 #AD912F #CEB14B

Accessibility & contrast

On white

5.36
#7D6922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D6922
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6922#FFFFFF#000000##FFFFFF
##7D69221.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756718
Deuteranopia (green-blind)
#7A6D26
Tritanopia (blue-blind)
#87605B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d6922;
/* rgb */ color: rgb(125, 105, 34);
/* oklch */ color: oklch(52.6% 0.092 93.0);
Tailwind
colors: {
  custom: {
    50: '#a69362',
    500: '#7d6922',
    950: '#000000',
  },
}
SCSS
$custom: #7d6922;
$custom-light: #a69362;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6922",
  "rgb": {
    "r": 125,
    "g": 105,
    "b": 34
  },
  "hsl": {
    "h": 46.813,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52625,
    "c": 0.09192,
    "h": 93
  },
  "luminance": 0.14579
}

Semantic roles & 50–950 ramp

primary
#7D6922
secondary
#4B61B0
accent
#69E047
background
#FAF9F5
surface
#F4F1EA
border
#CECBC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7D6922

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

Preview Lab → · Contrast checker → · Palette generator →

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