#AFB970#AFB970

#AFB970 is a light, moderate yellow. Relative luminance 0.450; OKLCH L 76.1% C 0.097 H 115.1°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#AFB970
RGBrgb(175, 185, 112)
HSLhsl(68, 34%, 58%)
HSVhsv(68, 39%, 73%)
CMYKcmyk(5.4%, 0%, 39.5%, 27.5%)
CIE-LABlab(72.88, -14.91, 35.87)
CIE-LCHlch(72.88, 38.84, 112.58°)
OKLaboklab(76.1% -0.041 0.0876)
OKLCHoklch(76.1% 0.097 115.1)
XYZxyz(37.9530, 44.9821, 22.0091)
Luminance0.4498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB970 #7A70B9
analogous
#B99E70 #AFB970 #8AB970
triadic
#AFB970 #70AFB9 #B970AF
tetradic
#AFB970 #70B99E #7A70B9 #B9708A
square
#AFB970 #70B99E #7A70B9 #B9708A
split-complementary
#AFB970 #708AB9 #9E70B9
monochromatic
#6D7539 #939E4D #AFB970 #C6CD99 #DDE1C2

Accessibility & contrast

On white

2.10
#AFB970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#AFB970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB970
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB970#FFFFFF#000000##000000
##AFB9701.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B26A
Deuteranopia (green-blind)
#C2B473
Tritanopia (blue-blind)
#B7B1A7
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afb970;
/* rgb */ color: rgb(175, 185, 112);
/* oklch */ color: oklch(76.1% 0.097 115.1);
Tailwind
colors: {
  custom: {
    50: '#c8ce9a',
    500: '#afb970',
    950: '#000000',
  },
}
SCSS
$custom: #afb970;
$custom-light: #c8ce9a;
$custom-dark: #000000;
JSON
{
  "hex": "#afb970",
  "rgb": {
    "r": 175,
    "g": 185,
    "b": 112
  },
  "hsl": {
    "h": 68.219,
    "s": 34.272,
    "l": 58.235
  },
  "oklch": {
    "l": 0.76097,
    "c": 0.0967,
    "h": 115.1
  },
  "luminance": 0.44982
}

Semantic roles & 50–950 ramp

primary
#AFB970
secondary
#B8B4D1
accent
#5DCA6C
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AFB970

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

Preview Lab → · Contrast checker → · Palette generator →

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