#AFB445#AFB445

#AFB445 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.4% C 0.133 H 111.7°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#AFB445
RGBrgb(175, 180, 69)
HSLhsl(63, 45%, 49%)
HSVhsv(63, 62%, 71%)
CMYKcmyk(2.8%, 0%, 61.7%, 29.4%)
CIE-LABlab(71.00, -16.36, 54.31)
CIE-LCHlch(71.00, 56.72, 106.76°)
OKLaboklab(74.44% -0.0493 0.124)
OKLCHoklch(74.44% 0.133 111.7)
XYZxyz(35.0756, 42.1869, 11.9243)
Luminance0.4219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB445 #4A45B4
analogous
#B48245 #AFB445 #78B445
triadic
#AFB445 #45AFB4 #B445AF
tetradic
#AFB445 #45B482 #4A45B4 #B44578
square
#AFB445 #45B482 #4A45B4 #B44578
split-complementary
#AFB445 #4578B4 #8245B4
monochromatic
#595C23 #848834 #AFB445 #C4C86F #D6D99B

Accessibility & contrast

On white

2.23
#AFB445 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#AFB445 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB445
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB445#FFFFFF#000000##000000
##AFB4451.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC38
Deuteranopia (green-blind)
#C2AF4C
Tritanopia (blue-blind)
#BAAA9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afb445;
/* rgb */ color: rgb(175, 180, 69);
/* oklch */ color: oklch(74.4% 0.133 111.7);
Tailwind
colors: {
  custom: {
    50: '#c9ca7e',
    500: '#afb445',
    950: '#000000',
  },
}
SCSS
$custom: #afb445;
$custom-light: #c9ca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#afb445",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 69
  },
  "hsl": {
    "h": 62.703,
    "s": 44.578,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74435,
    "c": 0.13344,
    "h": 111.7
  },
  "luminance": 0.42186
}

Semantic roles & 50–950 ramp

primary
#AFB445
secondary
#9290C5
accent
#54D459
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB445

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

Preview Lab → · Contrast checker → · Palette generator →

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