#AFB458#AFB458

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

Color values

HEX#AFB458
RGBrgb(175, 180, 88)
HSLhsl(63, 38%, 53%)
HSVhsv(63, 51%, 71%)
CMYKcmyk(2.8%, 0%, 51.1%, 29.4%)
CIE-LABlab(71.19, -14.84, 45.80)
CIE-LCHlch(71.19, 48.15, 107.96°)
OKLaboklab(74.65% -0.0429 0.108)
OKLCHoklch(74.65% 0.116 111.7)
XYZxyz(35.7626, 42.4618, 15.5426)
Luminance0.4246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB458 #5D58B4
analogous
#B48B58 #AFB458 #81B458
triadic
#AFB458 #58AFB4 #B458AF
tetradic
#AFB458 #58B48B #5D58B4 #B45881
square
#AFB458 #58B48B #5D58B4 #B45881
split-complementary
#AFB458 #5881B4 #8B58B4
monochromatic
#61642D #8A8F40 #AFB458 #C3C782 #D7DAAC

Accessibility & contrast

On white

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

On black

9.49
#AFB458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB458
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB458#FFFFFF#000000##000000
##AFB4581.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afb458;
/* rgb */ color: rgb(175, 180, 88);
/* oklch */ color: oklch(74.6% 0.116 111.7);
Tailwind
colors: {
  custom: {
    50: '#c9ca8a',
    500: '#afb458',
    950: '#000000',
  },
}
SCSS
$custom: #afb458;
$custom-light: #c9ca8a;
$custom-dark: #000000;
JSON
{
  "hex": "#afb458",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 88
  },
  "hsl": {
    "h": 63.261,
    "s": 38.017,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74646,
    "c": 0.11623,
    "h": 111.7
  },
  "luminance": 0.42461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFB458

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

Preview Lab → · Contrast checker → · Palette generator →

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