#7D7233#7D7233

#7D7233 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.8% C 0.085 H 99.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7D7233
RGBrgb(125, 114, 51)
HSLhsl(51, 42%, 35%)
HSVhsv(51, 59%, 49%)
CMYKcmyk(0%, 8.8%, 59.2%, 51%)
CIE-LABlab(47.80, -4.34, 35.85)
CIE-LCHlch(47.80, 36.11, 96.91°)
OKLaboklab(54.85% -0.014 0.0834)
OKLCHoklch(54.85% 0.085 99.5)
XYZxyz(15.0728, 16.6342, 5.5481)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7233 #333E7D
analogous
#7D4D33 #7D7233 #637D33
triadic
#7D7233 #337D72 #72337D
tetradic
#7D7233 #337D4D #333E7D #7D3363
square
#7D7233 #337D4D #333E7D #7D3363
split-complementary
#7D7233 #33637D #4D337D
monochromatic
#262310 #524A21 #7D7233 #A89A45 #C2B469

Accessibility & contrast

On white

4.85
#7D7233 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7D7233 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7233
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7233#FFFFFF#000000##FFFFFF
##7D72331.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2D
Deuteranopia (green-blind)
#7F7336
Tritanopia (blue-blind)
#866A64
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d7233;
/* rgb */ color: rgb(125, 114, 51);
/* oklch */ color: oklch(54.8% 0.085 99.5);
Tailwind
colors: {
  custom: {
    50: '#a59a6d',
    500: '#7d7233',
    950: '#000000',
  },
}
SCSS
$custom: #7d7233;
$custom-light: #a59a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7233",
  "rgb": {
    "r": 125,
    "g": 114,
    "b": 51
  },
  "hsl": {
    "h": 51.081,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54848,
    "c": 0.08457,
    "h": 99.5
  },
  "luminance": 0.16634
}

Semantic roles & 50–950 ramp

primary
#7D7233
secondary
#626DAA
accent
#68D256
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7D7233

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

Preview Lab → · Contrast checker → · Palette generator →

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