#FAF461#FAF461

#FAF461 is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.5% C 0.165 H 106.9°. Best body text is #000000 at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#FAF461
RGBrgb(250, 244, 97)
HSLhsl(58, 94%, 68%)
HSVhsv(58, 61%, 98%)
CMYKcmyk(0%, 2.4%, 61.2%, 2%)
CIE-LABlab(94.27, -15.44, 69.32)
CIE-LCHlch(94.27, 71.01, 102.56°)
OKLaboklab(94.52% -0.0481 0.1579)
OKLCHoklch(94.52% 0.165 106.9)
XYZxyz(73.9352, 85.8908, 23.9909)
Luminance0.8589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF461 #6167FA
analogous
#FAA761 #FAF461 #B3FA61
triadic
#FAF461 #61FAF4 #F461FA
tetradic
#FAF461 #61FAA7 #6167FA #FA61B3
square
#FAF461 #61FAA7 #6167FA #FA61B3
split-complementary
#FAF461 #61B3FA #A761FA
monochromatic
#DAD107 #F8F026 #FAF461 #FCF89C #FEFCD8

Accessibility & contrast

On white

1.16
#FAF461 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.18
#FAF461 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF461
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF461#FFFFFF#000000##000000
##FAF4611.001.1618.1818.18
#FFFFFF1.161.0021.0021.00
#00000018.1821.001.001.00
##00000018.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB4F
Deuteranopia (green-blind)
#FFF16A
Tritanopia (blue-blind)
#FFE5D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #faf461;
/* rgb */ color: rgb(250, 244, 97);
/* oklch */ color: oklch(94.5% 0.165 106.9);
Tailwind
colors: {
  custom: {
    50: '#fff794',
    500: '#faf461',
    950: '#000000',
  },
}
SCSS
$custom: #faf461;
$custom-light: #fff794;
$custom-dark: #000000;
JSON
{
  "hex": "#faf461",
  "rgb": {
    "r": 250,
    "g": 244,
    "b": 97
  },
  "hsl": {
    "h": 57.647,
    "s": 93.865,
    "l": 68.039
  },
  "oklch": {
    "l": 0.94524,
    "c": 0.16503,
    "h": 106.9
  },
  "luminance": 0.85888
}

Semantic roles & 50–950 ramp

primary
#FAF461
secondary
#2C32D3
accent
#09E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF461

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

Preview Lab → · Contrast checker → · Palette generator →

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