#AFB114#AFB114

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

Color values

HEX#AFB114
RGBrgb(175, 177, 20)
HSLhsl(61, 80%, 39%)
HSVhsv(61, 89%, 69%)
CMYKcmyk(1.1%, 0%, 88.7%, 30.6%)
CIE-LABlab(69.90, -16.98, 69.01)
CIE-LCHlch(69.90, 71.07, 103.82°)
OKLaboklab(73.47% -0.0551 0.1471)
OKLCHoklch(73.47% 0.157 110.5)
XYZxyz(33.5289, 40.6098, 6.7340)
Luminance0.4061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB114 #1614B1
analogous
#B16414 #AFB114 #60B114
triadic
#AFB114 #14AFB1 #B114AF
tetradic
#AFB114 #14B164 #1614B1 #B11460
square
#AFB114 #14B164 #1614B1 #B11460
split-complementary
#AFB114 #1460B1 #6414B1
monochromatic
#424308 #797A0E #AFB114 #E3E51D #EAEC54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB114#FFFFFF#000000##000000
##AFB1141.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)
#C0A900
Deuteranopia (green-blind)
#C1AD27
Tritanopia (blue-blind)
#BCA597
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb114;
/* rgb */ color: rgb(175, 177, 20);
/* oklch */ color: oklch(73.5% 0.157 110.5);
Tailwind
colors: {
  custom: {
    50: '#cbc867',
    500: '#afb114',
    950: '#000000',
  },
}
SCSS
$custom: #afb114;
$custom-light: #cbc867;
$custom-dark: #000000;
JSON
{
  "hex": "#afb114",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 20
  },
  "hsl": {
    "h": 60.764,
    "s": 79.695,
    "l": 38.627
  },
  "oklch": {
    "l": 0.73473,
    "c": 0.15705,
    "h": 110.5
  },
  "luminance": 0.40609
}

Semantic roles & 50–950 ramp

primary
#AFB114
secondary
#5453CE
accent
#32F634
background
#FDFCF6
surface
#FAF8EB
border
#D3D1C6
text
#141307
muted
#83827A

Preview Lab

Preview with #AFB114

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

Preview Lab → · Contrast checker → · Palette generator →

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