#AFB250#AFB250

#AFB250 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.1% C 0.122 H 110.6°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#AFB250
RGBrgb(175, 178, 80)
HSLhsl(62, 39%, 51%)
HSVhsv(62, 55%, 70%)
CMYKcmyk(1.7%, 0%, 55.1%, 30.2%)
CIE-LABlab(70.55, -14.51, 48.86)
CIE-LCHlch(70.55, 50.97, 106.54°)
OKLaboklab(74.11% -0.0428 0.1138)
OKLCHoklch(74.11% 0.122 110.6)
XYZxyz(35.0484, 41.5347, 13.7586)
Luminance0.4153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB250 #5350B2
analogous
#B28450 #AFB250 #7EB250
triadic
#AFB250 #50AFB2 #B250AF
tetradic
#AFB250 #50B284 #5350B2 #B2507E
square
#AFB250 #50B284 #5350B2 #B2507E
split-complementary
#AFB250 #507EB2 #8450B2
monochromatic
#5D5E29 #86893C #AFB250 #C2C57A #D6D7A5

Accessibility & contrast

On white

2.26
#AFB250 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#AFB250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB250
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB250#FFFFFF#000000##000000
##AFB2501.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB46
Deuteranopia (green-blind)
#BFAE55
Tritanopia (blue-blind)
#BAA89C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb250;
/* rgb */ color: rgb(175, 178, 80);
/* oklch */ color: oklch(74.1% 0.122 110.6);
Tailwind
colors: {
  custom: {
    50: '#c9c884',
    500: '#afb250',
    950: '#000000',
  },
}
SCSS
$custom: #afb250;
$custom-light: #c9c884;
$custom-dark: #000000;
JSON
{
  "hex": "#afb250",
  "rgb": {
    "r": 175,
    "g": 178,
    "b": 80
  },
  "hsl": {
    "h": 61.837,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74108,
    "c": 0.12158,
    "h": 110.6
  },
  "luminance": 0.41534
}

Semantic roles & 50–950 ramp

primary
#AFB250
secondary
#9A99C5
accent
#59CF5D
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB250

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

Preview Lab → · Contrast checker → · Palette generator →

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