#AFB154#AFB154

#AFB154 is a light, moderate yellow. Relative luminance 0.412; OKLCH L 73.9% C 0.117 H 110.1°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#AFB154
RGBrgb(175, 177, 84)
HSLhsl(61, 37%, 51%)
HSVhsv(61, 53%, 69%)
CMYKcmyk(1.1%, 0%, 52.5%, 30.6%)
CIE-LABlab(70.32, -13.66, 46.70)
CIE-LCHlch(70.32, 48.66, 106.30°)
OKLaboklab(73.94% -0.04 0.1096)
OKLCHoklch(73.94% 0.117 110.1)
XYZxyz(35.0024, 41.1991, 14.4942)
Luminance0.4120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB154 #5654B1
analogous
#B18454 #AFB154 #80B154
triadic
#AFB154 #54AFB1 #B154AF
tetradic
#AFB154 #54B184 #5654B1 #B15480
square
#AFB154 #54B184 #5654B1 #B15480
split-complementary
#AFB154 #5480B1 #8454B1
monochromatic
#5E5F2B #88893F #AFB154 #C3C47E #D6D7A8

Accessibility & contrast

On white

2.27
#AFB154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#AFB154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB154
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB154#FFFFFF#000000##000000
##AFB1541.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA4B
Deuteranopia (green-blind)
#BEAD59
Tritanopia (blue-blind)
#BAA79C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afb154;
/* rgb */ color: rgb(175, 177, 84);
/* oklch */ color: oklch(73.9% 0.117 110.1);
Tailwind
colors: {
  custom: {
    50: '#c9c887',
    500: '#afb154',
    950: '#000000',
  },
}
SCSS
$custom: #afb154;
$custom-light: #c9c887;
$custom-dark: #000000;
JSON
{
  "hex": "#afb154",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 84
  },
  "hsl": {
    "h": 61.29,
    "s": 37.349,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73936,
    "c": 0.11663,
    "h": 110.1
  },
  "luminance": 0.41198
}

Semantic roles & 50–950 ramp

primary
#AFB154
secondary
#9D9CC5
accent
#5ACD5D
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB154

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

Preview Lab → · Contrast checker → · Palette generator →

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