#AFB144#AFB144

#AFB144 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.8% C 0.131 H 110.2°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#AFB144
RGBrgb(175, 177, 68)
HSLhsl(61, 44%, 48%)
HSVhsv(61, 62%, 69%)
CMYKcmyk(1.1%, 0%, 61.6%, 30.6%)
CIE-LABlab(70.16, -14.90, 53.84)
CIE-LCHlch(70.16, 55.86, 105.47°)
OKLaboklab(73.76% -0.0452 0.1229)
OKLCHoklch(73.76% 0.131 110.2)
XYZxyz(34.4457, 40.9765, 11.5625)
Luminance0.4098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB144 #4644B1
analogous
#B17C44 #AFB144 #78B144
triadic
#AFB144 #44AFB1 #B144AF
tetradic
#AFB144 #44B17C #4644B1 #B14478
square
#AFB144 #44B17C #4644B1 #B14478
split-complementary
#AFB144 #4478B1 #7C44B1
monochromatic
#585922 #838533 #AFB144 #C5C66C #D6D798

Accessibility & contrast

On white

2.28
#AFB144 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#AFB144 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB144
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB144#FFFFFF#000000##000000
##AFB1441.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA37
Deuteranopia (green-blind)
#BFAD4B
Tritanopia (blue-blind)
#BBA79A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb144;
/* rgb */ color: rgb(175, 177, 68);
/* oklch */ color: oklch(73.8% 0.131 110.2);
Tailwind
colors: {
  custom: {
    50: '#cac87d',
    500: '#afb144',
    950: '#000000',
  },
}
SCSS
$custom: #afb144;
$custom-light: #cac87d;
$custom-dark: #000000;
JSON
{
  "hex": "#afb144",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 68
  },
  "hsl": {
    "h": 61.101,
    "s": 44.49,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73761,
    "c": 0.13093,
    "h": 110.2
  },
  "luminance": 0.40976
}

Semantic roles & 50–950 ramp

primary
#AFB144
secondary
#8E8DC3
accent
#54D456
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB144

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

Preview Lab → · Contrast checker → · Palette generator →

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