#313207#313207

#313207 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.7% C 0.061 H 110.8°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#313207
RGBrgb(49, 50, 7)
HSLhsl(61, 75%, 11%)
HSVhsv(61, 86%, 20%)
CMYKcmyk(2%, 0%, 86%, 80.4%)
CIE-LABlab(19.84, -6.87, 25.03)
CIE-LCHlch(19.84, 25.96, 105.35°)
OKLaboklab(30.66% -0.0216 0.0567)
OKLCHoklch(30.66% 0.061 110.8)
XYZxyz(2.4457, 2.9496, 0.6415)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313207 #080732
analogous
#321D07 #313207 #1B3207
triadic
#313207 #073132 #320731
tetradic
#313207 #07321D #080732 #32071B
square
#313207 #07321D #080732 #32071B
split-complementary
#313207 #071B32 #1D0732
monochromatic
#1A1B04 #1A1B04 #313207 #66680F #9A9D16

Accessibility & contrast

On white

13.21
#313207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#313207 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313207
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313207#FFFFFF#000000##FFFFFF
##3132071.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F02
Deuteranopia (green-blind)
#37310A
Tritanopia (blue-blind)
#352E2A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #313207;
/* rgb */ color: rgb(49, 50, 7);
/* oklch */ color: oklch(30.7% 0.061 110.8);
Tailwind
colors: {
  custom: {
    50: '#6b694b',
    500: '#313207',
    950: '#000000',
  },
}
SCSS
$custom: #313207;
$custom-light: #6b694b;
$custom-dark: #000000;
JSON
{
  "hex": "#313207",
  "rgb": {
    "r": 49,
    "g": 50,
    "b": 7
  },
  "hsl": {
    "h": 61.395,
    "s": 75.439,
    "l": 11.176
  },
  "oklch": {
    "l": 0.30661,
    "c": 0.06063,
    "h": 110.8
  },
  "luminance": 0.0295
}

Semantic roles & 50–950 ramp

primary
#313207
secondary
#252372
accent
#36F23A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #313207

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

Preview Lab → · Contrast checker → · Palette generator →

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