#AFB143#AFB143

#AFB143 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.8% C 0.132 H 110.2°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#AFB143
RGBrgb(175, 177, 67)
HSLhsl(61, 45%, 48%)
HSVhsv(61, 62%, 69%)
CMYKcmyk(1.1%, 0%, 62.1%, 30.6%)
CIE-LABlab(70.15, -14.96, 54.26)
CIE-LCHlch(70.15, 56.29, 105.42°)
OKLaboklab(73.75% -0.0455 0.1236)
OKLCHoklch(73.75% 0.132 110.2)
XYZxyz(34.4155, 40.9644, 11.4031)
Luminance0.4096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB143 #4543B1
analogous
#B17C43 #AFB143 #78B143
triadic
#AFB143 #43AFB1 #B143AF
tetradic
#AFB143 #43B17C #4543B1 #B14378
square
#AFB143 #43B17C #4543B1 #B14378
split-complementary
#AFB143 #4378B1 #7C43B1
monochromatic
#575821 #838532 #AFB143 #C5C76A #D6D897

Accessibility & contrast

On white

2.28
#AFB143 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#AFB143 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB143
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB143#FFFFFF#000000##000000
##AFB1431.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA35
Deuteranopia (green-blind)
#BFAD4A
Tritanopia (blue-blind)
#BBA79A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb143;
/* rgb */ color: rgb(175, 177, 67);
/* oklch */ color: oklch(73.8% 0.132 110.2);
Tailwind
colors: {
  custom: {
    50: '#cac87c',
    500: '#afb143',
    950: '#000000',
  },
}
SCSS
$custom: #afb143;
$custom-light: #cac87c;
$custom-dark: #000000;
JSON
{
  "hex": "#afb143",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 67
  },
  "hsl": {
    "h": 61.091,
    "s": 45.082,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73752,
    "c": 0.13174,
    "h": 110.2
  },
  "luminance": 0.40963
}

Semantic roles & 50–950 ramp

primary
#AFB143
secondary
#8D8CC3
accent
#53D555
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB143

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

Preview Lab → · Contrast checker → · Palette generator →

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