#AFB046#AFB046

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

Color values

HEX#AFB046
RGBrgb(175, 176, 70)
HSLhsl(61, 43%, 48%)
HSVhsv(61, 60%, 69%)
CMYKcmyk(0.6%, 0%, 60.2%, 31%)
CIE-LABlab(69.90, -14.24, 52.69)
CIE-LCHlch(69.90, 54.58, 105.13°)
OKLaboklab(73.56% -0.0432 0.1207)
OKLCHoklch(73.56% 0.128 109.7)
XYZxyz(34.3110, 40.6077, 11.8238)
Luminance0.4061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB046 #4746B0
analogous
#B07C46 #AFB046 #7AB046
triadic
#AFB046 #46AFB0 #B046AF
tetradic
#AFB046 #46B07C #4746B0 #B0467A
square
#AFB046 #46B07C #4746B0 #B0467A
split-complementary
#AFB046 #467AB0 #7C46B0
monochromatic
#585823 #838435 #AFB046 #C4C56E #D6D79A

Accessibility & contrast

On white

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

On black

9.12
#AFB046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB046
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB046#FFFFFF#000000##000000
##AFB0461.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA93A
Deuteranopia (green-blind)
#BEAC4C
Tritanopia (blue-blind)
#BAA699
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb046;
/* rgb */ color: rgb(175, 176, 70);
/* oklch */ color: oklch(73.6% 0.128 109.7);
Tailwind
colors: {
  custom: {
    50: '#c9c77e',
    500: '#afb046',
    950: '#000000',
  },
}
SCSS
$custom: #afb046;
$custom-light: #c9c77e;
$custom-dark: #000000;
JSON
{
  "hex": "#afb046",
  "rgb": {
    "r": 175,
    "g": 176,
    "b": 70
  },
  "hsl": {
    "h": 60.566,
    "s": 43.089,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7356,
    "c": 0.12819,
    "h": 109.7
  },
  "luminance": 0.40607
}

Semantic roles & 50–950 ramp

primary
#AFB046
secondary
#8F8FC3
accent
#55D356
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB046

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

Preview Lab → · Contrast checker → · Palette generator →

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