#AFB15E#AFB15E

#AFB15E is a light, moderate yellow. Relative luminance 0.414; OKLCH L 74.1% C 0.106 H 110.0°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#AFB15E
RGBrgb(175, 177, 94)
HSLhsl(61, 35%, 53%)
HSVhsv(61, 47%, 69%)
CMYKcmyk(1.1%, 0%, 46.9%, 30.6%)
CIE-LABlab(70.43, -12.73, 41.95)
CIE-LCHlch(70.43, 43.84, 106.89°)
OKLaboklab(74.07% -0.0363 0.1001)
OKLCHoklch(74.07% 0.106 110)
XYZxyz(35.4224, 41.3671, 16.7062)
Luminance0.4137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB15E #605EB1
analogous
#B1895E #AFB15E #85B15E
triadic
#AFB15E #5EAFB1 #B15EAF
tetradic
#AFB15E #5EB189 #605EB1 #B15E85
square
#AFB15E #5EB189 #605EB1 #B15E85
split-complementary
#AFB15E #5E85B1 #895EB1
monochromatic
#636430 #8C8D44 #AFB15E #C3C587 #D8D9B0

Accessibility & contrast

On white

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

On black

9.27
#AFB15E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB15E
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB15E#FFFFFF#000000##000000
##AFB15E1.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAB57
Deuteranopia (green-blind)
#BDAE62
Tritanopia (blue-blind)
#B9A89E
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afb15e;
/* rgb */ color: rgb(175, 177, 94);
/* oklch */ color: oklch(74.1% 0.106 110.0);
Tailwind
colors: {
  custom: {
    50: '#c8c88d',
    500: '#afb15e',
    950: '#000000',
  },
}
SCSS
$custom: #afb15e;
$custom-light: #c8c88d;
$custom-dark: #000000;
JSON
{
  "hex": "#afb15e",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 94
  },
  "hsl": {
    "h": 61.446,
    "s": 34.728,
    "l": 53.137
  },
  "oklch": {
    "l": 0.74067,
    "c": 0.10648,
    "h": 110
  },
  "luminance": 0.41366
}

Semantic roles & 50–950 ramp

primary
#AFB15E
secondary
#A4A4C7
accent
#5DCB60
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFB15E

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

Preview Lab → · Contrast checker → · Palette generator →

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