#7D6923#7D6923

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

Color values

HEX#7D6923
RGBrgb(125, 105, 35)
HSLhsl(47, 56%, 31%)
HSVhsv(47, 72%, 49%)
CMYKcmyk(0%, 16%, 72%, 51%)
CIE-LABlab(45.06, -0.32, 40.63)
CIE-LCHlch(45.06, 40.63, 90.44°)
OKLaboklab(52.63% -0.0045 0.0911)
OKLCHoklch(52.63% 0.091 92.8)
XYZxyz(13.8131, 14.5853, 3.6775)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6923 #23377D
analogous
#7D3C23 #7D6923 #647D23
triadic
#7D6923 #237D69 #69237D
tetradic
#7D6923 #237D3C #23377D #7D2364
square
#7D6923 #237D3C #23377D #7D2364
split-complementary
#7D6923 #23647D #3C237D
monochromatic
#1D1908 #4D4116 #7D6923 #AD9130 #CDB14D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D6923#FFFFFF#000000##FFFFFF
##7D69231.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)
#75671A
Deuteranopia (green-blind)
#7A6D27
Tritanopia (blue-blind)
#87605B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d6923;
/* rgb */ color: rgb(125, 105, 35);
/* oklch */ color: oklch(52.6% 0.091 92.8);
Tailwind
colors: {
  custom: {
    50: '#a69362',
    500: '#7d6923',
    950: '#000000',
  },
}
SCSS
$custom: #7d6923;
$custom-light: #a69362;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6923",
  "rgb": {
    "r": 125,
    "g": 105,
    "b": 35
  },
  "hsl": {
    "h": 46.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52634,
    "c": 0.09116,
    "h": 92.8
  },
  "luminance": 0.14584
}

Semantic roles & 50–950 ramp

primary
#7D6923
secondary
#4C62AF
accent
#6AE048
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#100D05
muted
#7F7E7A

Preview Lab

Preview with #7D6923

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

Preview Lab → · Contrast checker → · Palette generator →

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