#7D7923#7D7923

#7D7923 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.3% C 0.105 H 106.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7D7923
RGBrgb(125, 121, 35)
HSLhsl(57, 56%, 31%)
HSVhsv(57, 72%, 49%)
CMYKcmyk(0%, 3.2%, 72%, 51%)
CIE-LABlab(49.69, -9.38, 45.29)
CIE-LCHlch(49.69, 46.25, 101.70°)
OKLaboklab(56.3% -0.0302 0.1009)
OKLCHoklch(56.3% 0.105 106.7)
XYZxyz(15.5988, 18.1566, 4.2727)
Luminance0.1816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7923 #23277D
analogous
#7D4C23 #7D7923 #547D23
triadic
#7D7923 #237D79 #79237D
tetradic
#7D7923 #237D4C #23277D #7D2354
square
#7D7923 #237D4C #23277D #7D2354
split-complementary
#7D7923 #23547D #4C237D
monochromatic
#1D1C08 #4D4B16 #7D7923 #ADA730 #CDC84D

Accessibility & contrast

On white

4.53
#7D7923 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7D7923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7923
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7923#FFFFFF#000000##000000
##7D79231.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#847415
Deuteranopia (green-blind)
#857829
Tritanopia (blue-blind)
#867168
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d7923;
/* rgb */ color: rgb(125, 121, 35);
/* oklch */ color: oklch(56.3% 0.105 106.7);
Tailwind
colors: {
  custom: {
    50: '#a69f64',
    500: '#7d7923',
    950: '#000000',
  },
}
SCSS
$custom: #7d7923;
$custom-light: #a69f64;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7923",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 35
  },
  "hsl": {
    "h": 57.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56303,
    "c": 0.10533,
    "h": 106.7
  },
  "luminance": 0.18156
}

Semantic roles & 50–950 ramp

primary
#7D7923
secondary
#4C51AF
accent
#4FE048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D7923

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

Preview Lab → · Contrast checker → · Palette generator →

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