#AFB048#AFB048

#AFB048 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.6% C 0.126 H 109.7°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#AFB048
RGBrgb(175, 176, 72)
HSLhsl(61, 42%, 49%)
HSVhsv(61, 59%, 69%)
CMYKcmyk(0.6%, 0%, 59.1%, 31%)
CIE-LABlab(69.92, -14.10, 51.82)
CIE-LCHlch(69.92, 53.70, 105.22°)
OKLaboklab(73.58% -0.0425 0.1191)
OKLCHoklch(73.58% 0.126 109.7)
XYZxyz(34.3752, 40.6334, 12.1619)
Luminance0.4063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB048 #4948B0
analogous
#B07D48 #AFB048 #7BB048
triadic
#AFB048 #48AFB0 #B048AF
tetradic
#AFB048 #48B07D #4948B0 #B0487B
square
#AFB048 #48B07D #4948B0 #B0487B
split-complementary
#AFB048 #487BB0 #7D48B0
monochromatic
#595924 #848536 #AFB048 #C4C570 #D6D69C

Accessibility & contrast

On white

2.30
#AFB048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#AFB048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB048
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB048#FFFFFF#000000##000000
##AFB0481.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA93C
Deuteranopia (green-blind)
#BEAC4E
Tritanopia (blue-blind)
#BAA69A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb048;
/* rgb */ color: rgb(175, 176, 72);
/* oklch */ color: oklch(73.6% 0.126 109.7);
Tailwind
colors: {
  custom: {
    50: '#c9c77f',
    500: '#afb048',
    950: '#000000',
  },
}
SCSS
$custom: #afb048;
$custom-light: #c9c77f;
$custom-dark: #000000;
JSON
{
  "hex": "#afb048",
  "rgb": {
    "r": 175,
    "g": 176,
    "b": 72
  },
  "hsl": {
    "h": 60.577,
    "s": 41.935,
    "l": 48.627
  },
  "oklch": {
    "l": 0.7358,
    "c": 0.12649,
    "h": 109.7
  },
  "luminance": 0.40633
}

Semantic roles & 50–950 ramp

primary
#AFB048
secondary
#9191C3
accent
#56D257
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AFB048

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

Preview Lab → · Contrast checker → · Palette generator →

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