#AFB059#AFB059

#AFB059 is a light, moderate yellow. Relative luminance 0.409; OKLCH L 73.8% C 0.110 H 109.4°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#AFB059
RGBrgb(175, 176, 89)
HSLhsl(61, 36%, 52%)
HSVhsv(61, 49%, 69%)
CMYKcmyk(0.6%, 0%, 49.4%, 31%)
CIE-LABlab(70.10, -12.69, 44.02)
CIE-LCHlch(70.10, 45.81, 106.09°)
OKLaboklab(73.78% -0.0367 0.1042)
OKLCHoklch(73.78% 0.11 109.4)
XYZxyz(35.0085, 40.8867, 15.4970)
Luminance0.4089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB059 #5A59B0
analogous
#B08659 #AFB059 #84B059
triadic
#AFB059 #59AFB0 #B059AF
tetradic
#AFB059 #59B086 #5A59B0 #B05984
square
#AFB059 #59B086 #5A59B0 #B05984
split-complementary
#AFB059 #5984B0 #8659B0
monochromatic
#60612E #898A42 #AFB059 #C3C482 #D7D7AC

Accessibility & contrast

On white

2.29
#AFB059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#AFB059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB059
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB059#FFFFFF#000000##000000
##AFB0591.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAA51
Deuteranopia (green-blind)
#BDAD5D
Tritanopia (blue-blind)
#B9A79C
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb059;
/* rgb */ color: rgb(175, 176, 89);
/* oklch */ color: oklch(73.8% 0.110 109.4);
Tailwind
colors: {
  custom: {
    50: '#c9c78a',
    500: '#afb059',
    950: '#000000',
  },
}
SCSS
$custom: #afb059;
$custom-light: #c9c78a;
$custom-dark: #000000;
JSON
{
  "hex": "#afb059",
  "rgb": {
    "r": 175,
    "g": 176,
    "b": 89
  },
  "hsl": {
    "h": 60.69,
    "s": 35.51,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7378,
    "c": 0.11049,
    "h": 109.4
  },
  "luminance": 0.40886
}

Semantic roles & 50–950 ramp

primary
#AFB059
secondary
#A09FC5
accent
#5CCC5E
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFB059

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

Preview Lab → · Contrast checker → · Palette generator →

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