#AFB844#AFB844

#AFB844 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.3% C 0.139 H 113.5°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#AFB844
RGBrgb(175, 184, 68)
HSLhsl(65, 46%, 49%)
HSVhsv(65, 63%, 72%)
CMYKcmyk(4.9%, 0%, 63%, 27.8%)
CIE-LABlab(72.10, -18.45, 55.92)
CIE-LCHlch(72.10, 58.88, 108.26°)
OKLaboklab(75.32% -0.0552 0.1273)
OKLCHoklch(75.32% 0.139 113.5)
XYZxyz(35.8640, 43.8130, 12.0352)
Luminance0.4381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB844 #4D44B8
analogous
#B88744 #AFB844 #75B844
triadic
#AFB844 #44AFB8 #B844AF
tetradic
#AFB844 #44B887 #4D44B8 #B84475
square
#AFB844 #44B887 #4D44B8 #B84475
split-complementary
#AFB844 #4475B8 #8744B8
monochromatic
#5A5F23 #858B33 #AFB844 #C3CA6F #D6DA9C

Accessibility & contrast

On white

2.15
#AFB844 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#AFB844 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB844
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB844#FFFFFF#000000##000000
##AFB8441.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B035
Deuteranopia (green-blind)
#C5B24C
Tritanopia (blue-blind)
#BAAEA0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afb844;
/* rgb */ color: rgb(175, 184, 68);
/* oklch */ color: oklch(75.3% 0.139 113.5);
Tailwind
colors: {
  custom: {
    50: '#cacd7d',
    500: '#afb844',
    950: '#000000',
  },
}
SCSS
$custom: #afb844;
$custom-light: #cacd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#afb844",
  "rgb": {
    "r": 175,
    "g": 184,
    "b": 68
  },
  "hsl": {
    "h": 64.655,
    "s": 46.032,
    "l": 49.412
  },
  "oklch": {
    "l": 0.75315,
    "c": 0.13873,
    "h": 113.5
  },
  "luminance": 0.43812
}

Semantic roles & 50–950 ramp

primary
#AFB844
secondary
#9591C7
accent
#52D65C
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB844

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

Preview Lab → · Contrast checker → · Palette generator →

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