#7C702B#7C702B

#7C702B is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.2% C 0.090 H 99.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7C702B
RGBrgb(124, 112, 43)
HSLhsl(51, 49%, 33%)
HSVhsv(51, 65%, 49%)
CMYKcmyk(0%, 9.7%, 65.3%, 51.4%)
CIE-LABlab(47.04, -4.29, 38.95)
CIE-LCHlch(47.04, 39.18, 96.28°)
OKLaboklab(54.2% -0.0148 0.0889)
OKLCHoklch(54.2% 0.09 99.4)
XYZxyz(14.5430, 16.0485, 4.6167)
Luminance0.1605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C702B #2B377C
analogous
#7C472B #7C702B #5F7C2B
triadic
#7C702B #2B7C70 #702B7C
tetradic
#7C702B #2B7C47 #2B377C #7C2B5F
square
#7C702B #2B7C47 #2B377C #7C2B5F
split-complementary
#7C702B #2B5F7C #472B7C
monochromatic
#211E0B #4F471B #7C702B #A9993B #C6B65B

Accessibility & contrast

On white

4.99
#7C702B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7C702B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C702B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C702B#FFFFFF#000000##FFFFFF
##7C702B1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D23
Deuteranopia (green-blind)
#7E712F
Tritanopia (blue-blind)
#856861
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7c702b;
/* rgb */ color: rgb(124, 112, 43);
/* oklch */ color: oklch(54.2% 0.090 99.4);
Tailwind
colors: {
  custom: {
    50: '#a49868',
    500: '#7c702b',
    950: '#000000',
  },
}
SCSS
$custom: #7c702b;
$custom-light: #a49868;
$custom-dark: #000000;
JSON
{
  "hex": "#7c702b",
  "rgb": {
    "r": 124,
    "g": 112,
    "b": 43
  },
  "hsl": {
    "h": 51.111,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54197,
    "c": 0.09013,
    "h": 99.4
  },
  "luminance": 0.16048
}

Semantic roles & 50–950 ramp

primary
#7C702B
secondary
#5763AC
accent
#64D850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7C702B

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

Preview Lab → · Contrast checker → · Palette generator →

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