#AFB153#AFB153

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

Color values

HEX#AFB153
RGBrgb(175, 177, 83)
HSLhsl(61, 38%, 51%)
HSVhsv(61, 53%, 69%)
CMYKcmyk(1.1%, 0%, 53.1%, 30.6%)
CIE-LABlab(70.30, -13.74, 47.16)
CIE-LCHlch(70.30, 49.13, 106.25°)
OKLaboklab(73.92% -0.0403 0.1105)
OKLCHoklch(73.92% 0.118 110.1)
XYZxyz(34.9635, 41.1836, 14.2894)
Luminance0.4118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB153 #5553B1
analogous
#B18453 #AFB153 #80B153
triadic
#AFB153 #53AFB1 #B153AF
tetradic
#AFB153 #53B184 #5553B1 #B15380
square
#AFB153 #53B184 #5553B1 #B15380
split-complementary
#AFB153 #5380B1 #8453B1
monochromatic
#5E5F2B #87893E #AFB153 #C3C47D #D6D7A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB153#FFFFFF#000000##000000
##AFB1531.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)
#BDAA4A
Deuteranopia (green-blind)
#BEAD58
Tritanopia (blue-blind)
#BAA79C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afb153;
/* rgb */ color: rgb(175, 177, 83);
/* oklch */ color: oklch(73.9% 0.118 110.1);
Tailwind
colors: {
  custom: {
    50: '#c9c886',
    500: '#afb153',
    950: '#000000',
  },
}
SCSS
$custom: #afb153;
$custom-light: #c9c886;
$custom-dark: #000000;
JSON
{
  "hex": "#afb153",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 83
  },
  "hsl": {
    "h": 61.277,
    "s": 37.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.73923,
    "c": 0.1176,
    "h": 110.1
  },
  "luminance": 0.41183
}

Semantic roles & 50–950 ramp

primary
#AFB153
secondary
#9C9BC5
accent
#5ACE5D
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB153

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

Preview Lab → · Contrast checker → · Palette generator →

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