#AFB456#AFB456

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

Color values

HEX#AFB456
RGBrgb(175, 180, 86)
HSLhsl(63, 39%, 52%)
HSVhsv(63, 52%, 71%)
CMYKcmyk(2.8%, 0%, 52.2%, 29.4%)
CIE-LABlab(71.17, -15.02, 46.73)
CIE-LCHlch(71.17, 49.09, 107.82°)
OKLaboklab(74.62% -0.0437 0.1098)
OKLCHoklch(74.62% 0.118 111.7)
XYZxyz(35.6809, 42.4291, 15.1123)
Luminance0.4243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB456 #5B56B4
analogous
#B48A56 #AFB456 #80B456
triadic
#AFB456 #56AFB4 #B456AF
tetradic
#AFB456 #56B48A #5B56B4 #B45680
square
#AFB456 #56B48A #5B56B4 #B45680
split-complementary
#AFB456 #5680B4 #8A56B4
monochromatic
#61632C #8A8E3F #AFB456 #C3C780 #D7DAAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB456#FFFFFF#000000##000000
##AFB4561.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)
#C0AD4D
Deuteranopia (green-blind)
#C0B05B
Tritanopia (blue-blind)
#B9AB9F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afb456;
/* rgb */ color: rgb(175, 180, 86);
/* oklch */ color: oklch(74.6% 0.118 111.7);
Tailwind
colors: {
  custom: {
    50: '#c9ca88',
    500: '#afb456',
    950: '#000000',
  },
}
SCSS
$custom: #afb456;
$custom-light: #c9ca88;
$custom-dark: #000000;
JSON
{
  "hex": "#afb456",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 86
  },
  "hsl": {
    "h": 63.191,
    "s": 38.525,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74621,
    "c": 0.11819,
    "h": 111.7
  },
  "luminance": 0.42428
}

Semantic roles & 50–950 ramp

primary
#AFB456
secondary
#A19EC7
accent
#59CE60
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFB456

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

Preview Lab → · Contrast checker → · Palette generator →

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