#AFB149#AFB149

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

Color values

HEX#AFB149
RGBrgb(175, 177, 73)
HSLhsl(61, 42%, 49%)
HSVhsv(61, 59%, 69%)
CMYKcmyk(1.1%, 0%, 58.8%, 30.6%)
CIE-LABlab(70.20, -14.54, 51.68)
CIE-LCHlch(70.20, 53.69, 105.71°)
OKLaboklab(73.81% -0.0437 0.119)
OKLCHoklch(73.81% 0.127 110.2)
XYZxyz(34.6049, 41.0401, 12.4007)
Luminance0.4104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB149 #4B49B1
analogous
#B17F49 #AFB149 #7BB149
triadic
#AFB149 #49AFB1 #B149AF
tetradic
#AFB149 #49B17F #4B49B1 #B1497B
square
#AFB149 #49B17F #4B49B1 #B1497B
split-complementary
#AFB149 #497BB1 #7F49B1
monochromatic
#595A25 #848637 #AFB149 #C3C572 #D6D79E

Accessibility & contrast

On white

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

On black

9.21
#AFB149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB149
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB149#FFFFFF#000000##000000
##AFB1491.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3D
Deuteranopia (green-blind)
#BFAD4F
Tritanopia (blue-blind)
#BAA79B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afb149;
/* rgb */ color: rgb(175, 177, 73);
/* oklch */ color: oklch(73.8% 0.127 110.2);
Tailwind
colors: {
  custom: {
    50: '#c9c880',
    500: '#afb149',
    950: '#000000',
  },
}
SCSS
$custom: #afb149;
$custom-light: #c9c880;
$custom-dark: #000000;
JSON
{
  "hex": "#afb149",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 73
  },
  "hsl": {
    "h": 61.154,
    "s": 41.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73811,
    "c": 0.12674,
    "h": 110.2
  },
  "luminance": 0.41039
}

Semantic roles & 50–950 ramp

primary
#AFB149
secondary
#9392C3
accent
#56D159
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130A
muted
#82827C

Preview Lab

Preview with #AFB149

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

Preview Lab → · Contrast checker → · Palette generator →

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