#AFB85F#AFB85F

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

Color values

HEX#AFB85F
RGBrgb(175, 184, 95)
HSLhsl(66, 39%, 55%)
HSVhsv(66, 48%, 72%)
CMYKcmyk(4.9%, 0%, 48.4%, 27.8%)
CIE-LABlab(72.38, -16.23, 43.81)
CIE-LCHlch(72.38, 46.71, 110.33°)
OKLaboklab(75.62% -0.0462 0.1043)
OKLCHoklch(75.62% 0.114 113.9)
XYZxyz(36.8858, 44.2217, 17.4168)
Luminance0.4422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB85F #685FB8
analogous
#B8945F #AFB85F #83B85F
triadic
#AFB85F #5FAFB8 #B85FAF
tetradic
#AFB85F #5FB894 #685FB8 #B85F83
square
#AFB85F #5FB894 #685FB8 #B85F83
split-complementary
#AFB85F #5F83B8 #945FB8
monochromatic
#666C30 #8E9743 #AFB85F #C4CB89 #D9DEB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB85F#FFFFFF#000000##000000
##AFB85F1.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)
#C3B157
Deuteranopia (green-blind)
#C3B264
Tritanopia (blue-blind)
#B8AFA3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afb85f;
/* rgb */ color: rgb(175, 184, 95);
/* oklch */ color: oklch(75.6% 0.114 113.9);
Tailwind
colors: {
  custom: {
    50: '#c8cd8e',
    500: '#afb85f',
    950: '#000000',
  },
}
SCSS
$custom: #afb85f;
$custom-light: #c8cd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#afb85f",
  "rgb": {
    "r": 175,
    "g": 184,
    "b": 95
  },
  "hsl": {
    "h": 66.067,
    "s": 38.528,
    "l": 54.706
  },
  "oklch": {
    "l": 0.75622,
    "c": 0.11402,
    "h": 113.9
  },
  "luminance": 0.44221
}

Semantic roles & 50–950 ramp

primary
#AFB85F
secondary
#AAA7CC
accent
#59CE65
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFB85F

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

Preview Lab → · Contrast checker → · Palette generator →

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