#AFB85E#AFB85E

#AFB85E is a light, moderate yellow. Relative luminance 0.442; OKLCH L 75.6% C 0.115 H 113.9°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#AFB85E
RGBrgb(175, 184, 94)
HSLhsl(66, 39%, 55%)
HSVhsv(66, 49%, 72%)
CMYKcmyk(4.9%, 0%, 48.9%, 27.8%)
CIE-LABlab(72.36, -16.32, 44.28)
CIE-LCHlch(72.36, 47.19, 110.24°)
OKLaboklab(75.61% -0.0466 0.1052)
OKLCHoklch(75.61% 0.115 113.9)
XYZxyz(36.8406, 44.2036, 17.1789)
Luminance0.4420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB85E #675EB8
analogous
#B8945E #AFB85E #82B85E
triadic
#AFB85E #5EAFB8 #B85EAF
tetradic
#AFB85E #5EB894 #675EB8 #B85E82
square
#AFB85E #5EB894 #675EB8 #B85E82
split-complementary
#AFB85E #5E82B8 #945EB8
monochromatic
#666C30 #8E9642 #AFB85E #C4CB88 #D9DDB3

Accessibility & contrast

On white

2.13
#AFB85E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#AFB85E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB85E
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB85E#FFFFFF#000000##000000
##AFB85E1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B156
Deuteranopia (green-blind)
#C3B263
Tritanopia (blue-blind)
#B8AFA3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afb85e;
/* rgb */ color: rgb(175, 184, 94);
/* oklch */ color: oklch(75.6% 0.115 113.9);
Tailwind
colors: {
  custom: {
    50: '#c8cd8e',
    500: '#afb85e',
    950: '#000000',
  },
}
SCSS
$custom: #afb85e;
$custom-light: #c8cd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#afb85e",
  "rgb": {
    "r": 175,
    "g": 184,
    "b": 94
  },
  "hsl": {
    "h": 66,
    "s": 38.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.75608,
    "c": 0.11505,
    "h": 113.9
  },
  "luminance": 0.44203
}

Semantic roles & 50–950 ramp

primary
#AFB85E
secondary
#AAA6CC
accent
#59CF65
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFB85E

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

Preview Lab → · Contrast checker → · Palette generator →

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