#7C7233#7C7233

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

Color values

HEX#7C7233
RGBrgb(124, 114, 51)
HSLhsl(52, 42%, 34%)
HSVhsv(52, 59%, 49%)
CMYKcmyk(0%, 8.1%, 58.9%, 51.4%)
CIE-LABlab(47.70, -4.80, 35.71)
CIE-LCHlch(47.70, 36.03, 97.66°)
OKLaboklab(54.75% -0.0153 0.0831)
OKLCHoklch(54.75% 0.085 100.4)
XYZxyz(14.9276, 16.5593, 5.5413)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7233 #333D7C
analogous
#7C4E33 #7C7233 #627C33
triadic
#7C7233 #337C72 #72337C
tetradic
#7C7233 #337C4E #333D7C #7C3362
square
#7C7233 #337C4E #333D7C #7C3362
split-complementary
#7C7233 #33627C #4E337C
monochromatic
#25220F #514A21 #7C7233 #A79A45 #C1B568

Accessibility & contrast

On white

4.87
#7C7233 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7C7233 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7233
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7233#FFFFFF#000000##FFFFFF
##7C72331.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c7233;
/* rgb */ color: rgb(124, 114, 51);
/* oklch */ color: oklch(54.7% 0.085 100.4);
Tailwind
colors: {
  custom: {
    50: '#a49a6d',
    500: '#7c7233',
    950: '#000000',
  },
}
SCSS
$custom: #7c7233;
$custom-light: #a49a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7233",
  "rgb": {
    "r": 124,
    "g": 114,
    "b": 51
  },
  "hsl": {
    "h": 51.781,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54749,
    "c": 0.08452,
    "h": 100.4
  },
  "luminance": 0.16559
}

Semantic roles & 50–950 ramp

primary
#7C7233
secondary
#626CA9
accent
#67D256
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7C7233

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

Preview Lab → · Contrast checker → · Palette generator →

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