#657212#657212

#657212 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.4% C 0.114 H 117.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#657212
RGBrgb(101, 114, 18)
HSLhsl(68, 73%, 26%)
HSVhsv(68, 84%, 45%)
CMYKcmyk(11.4%, 0%, 84.2%, 55.3%)
CIE-LABlab(45.42, -17.49, 46.64)
CIE-LCHlch(45.42, 49.81, 110.56°)
OKLaboklab(52.35% -0.053 0.1014)
OKLCHoklch(52.35% 0.114 117.6)
XYZxyz(11.4936, 14.8451, 2.8321)
Luminance0.1484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#657212 #1F1272
analogous
#724F12 #657212 #357212
triadic
#657212 #126572 #721265
tetradic
#657212 #12724F #1F1272 #721235
square
#657212 #12724F #1F1272 #721235
split-complementary
#657212 #123572 #4F1272
monochromatic
#171A04 #363D0A #657212 #94A71A #C3DC23

Accessibility & contrast

On white

5.29
#657212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#657212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #657212
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##657212#FFFFFF#000000##FFFFFF
##6572121.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#796C1C
Tritanopia (blue-blind)
#6C6B61
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #657212;
/* rgb */ color: rgb(101, 114, 18);
/* oklch */ color: oklch(52.4% 0.114 117.6);
Tailwind
colors: {
  custom: {
    50: '#949a5a',
    500: '#657212',
    950: '#000000',
  },
}
SCSS
$custom: #657212;
$custom-light: #949a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#657212",
  "rgb": {
    "r": 101,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 68.125,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.52353,
    "c": 0.11445,
    "h": 117.6
  },
  "luminance": 0.14845
}

Semantic roles & 50–950 ramp

primary
#657212
secondary
#4637A9
accent
#38EF51
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #657212

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

Preview Lab → · Contrast checker → · Palette generator →

#657212 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva