#AFB459#AFB459

#AFB459 is a light, moderate yellow. Relative luminance 0.425; OKLCH L 74.7% C 0.115 H 111.7°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#AFB459
RGBrgb(175, 180, 89)
HSLhsl(63, 38%, 53%)
HSVhsv(63, 51%, 71%)
CMYKcmyk(2.8%, 0%, 50.6%, 29.4%)
CIE-LABlab(71.20, -14.75, 45.33)
CIE-LCHlch(71.20, 47.67, 108.03°)
OKLaboklab(74.66% -0.0426 0.1071)
OKLCHoklch(74.66% 0.115 111.7)
XYZxyz(35.8043, 42.4784, 15.7623)
Luminance0.4248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB459 #5E59B4
analogous
#B48C59 #AFB459 #81B459
triadic
#AFB459 #59AFB4 #B459AF
tetradic
#AFB459 #59B48C #5E59B4 #B45981
square
#AFB459 #59B48C #5E59B4 #B45981
split-complementary
#AFB459 #5981B4 #8C59B4
monochromatic
#62652E #8B8F41 #AFB459 #C3C783 #D8DAAD

Accessibility & contrast

On white

2.21
#AFB459 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#AFB459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB459
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB459#FFFFFF#000000##000000
##AFB4591.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD51
Deuteranopia (green-blind)
#C0B05E
Tritanopia (blue-blind)
#B9AB9F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afb459;
/* rgb */ color: rgb(175, 180, 89);
/* oklch */ color: oklch(74.7% 0.115 111.7);
Tailwind
colors: {
  custom: {
    50: '#c9ca8a',
    500: '#afb459',
    950: '#000000',
  },
}
SCSS
$custom: #afb459;
$custom-light: #c9ca8a;
$custom-dark: #000000;
JSON
{
  "hex": "#afb459",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 89
  },
  "hsl": {
    "h": 63.297,
    "s": 37.759,
    "l": 52.745
  },
  "oklch": {
    "l": 0.74659,
    "c": 0.11522,
    "h": 111.7
  },
  "luminance": 0.42478
}

Semantic roles & 50–950 ramp

primary
#AFB459
secondary
#A3A1C8
accent
#5ACE60
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFB459

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

Preview Lab → · Contrast checker → · Palette generator →

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