#AFB072#AFB072

#AFB072 is a light, moderate yellow. Relative luminance 0.414; OKLCH L 74.2% C 0.083 H 109.0°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#AFB072
RGBrgb(175, 176, 114)
HSLhsl(61, 28%, 57%)
HSVhsv(61, 35%, 69%)
CMYKcmyk(0.6%, 0%, 35.2%, 31%)
CIE-LABlab(70.44, -10.02, 31.69)
CIE-LCHlch(70.44, 33.23, 107.55°)
OKLaboklab(74.17% -0.0269 0.0781)
OKLCHoklch(74.17% 0.083 109)
XYZxyz(36.2421, 41.3802, 21.9943)
Luminance0.4138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB072 #7372B0
analogous
#B09272 #AFB072 #90B072
triadic
#AFB072 #72AFB0 #B072AF
tetradic
#AFB072 #72B092 #7372B0 #B07290
square
#AFB072 #72B092 #7372B0 #B07290
split-complementary
#AFB072 #7290B0 #9272B0
monochromatic
#6B6B3C #929352 #AFB072 #C5C699 #DCDCC0

Accessibility & contrast

On white

2.26
#AFB072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#AFB072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB072
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB072#FFFFFF#000000##000000
##AFB0721.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9AB6E
Deuteranopia (green-blind)
#BAAD75
Tritanopia (blue-blind)
#B7A9A0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afb072;
/* rgb */ color: rgb(175, 176, 114);
/* oklch */ color: oklch(74.2% 0.083 109.0);
Tailwind
colors: {
  custom: {
    50: '#c8c79b',
    500: '#afb072',
    950: '#000000',
  },
}
SCSS
$custom: #afb072;
$custom-light: #c8c79b;
$custom-dark: #000000;
JSON
{
  "hex": "#afb072",
  "rgb": {
    "r": 175,
    "g": 176,
    "b": 114
  },
  "hsl": {
    "h": 60.968,
    "s": 28.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.74166,
    "c": 0.08258,
    "h": 109
  },
  "luminance": 0.4138
}

Semantic roles & 50–950 ramp

primary
#AFB072
secondary
#B3B2CC
accent
#63C465
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AFB072

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

Preview Lab → · Contrast checker → · Palette generator →

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