#FAF272#FAF272

#FAF272 is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.3% C 0.149 H 105.6°. Best body text is #000000 at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#FAF272
RGBrgb(250, 242, 114)
HSLhsl(56, 93%, 71%)
HSVhsv(56, 54%, 98%)
CMYKcmyk(0%, 3.2%, 54.4%, 2%)
CIE-LABlab(93.90, -13.30, 61.67)
CIE-LCHlch(93.90, 63.09, 102.17°)
OKLaboklab(94.28% -0.0402 0.1437)
OKLCHoklch(94.28% 0.149 105.6)
XYZxyz(74.2160, 85.0455, 28.4223)
Luminance0.8504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF272 #727AFA
analogous
#FAAE72 #FAF272 #BEFA72
triadic
#FAF272 #72FAF2 #F272FA
tetradic
#FAF272 #72FAAE #727AFA #FA72BE
square
#FAF272 #72FAAE #727AFA #FA72BE
split-complementary
#FAF272 #72BEFA #AE72FA
monochromatic
#E9DC08 #F8ED37 #FAF272 #FCF7AD #FEFCE1

Accessibility & contrast

On white

1.17
#FAF272 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.01
#FAF272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF272
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF272#FFFFFF#000000##000000
##FAF2721.001.1718.0118.01
#FFFFFF1.171.0021.0021.00
#00000018.0121.001.001.00
##00000018.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA65
Deuteranopia (green-blind)
#FFF079
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #faf272;
/* rgb */ color: rgb(250, 242, 114);
/* oklch */ color: oklch(94.3% 0.149 105.6);
Tailwind
colors: {
  custom: {
    50: '#fff69e',
    500: '#faf272',
    950: '#000000',
  },
}
SCSS
$custom: #faf272;
$custom-light: #fff69e;
$custom-dark: #000000;
JSON
{
  "hex": "#faf272",
  "rgb": {
    "r": 250,
    "g": 242,
    "b": 114
  },
  "hsl": {
    "h": 56.471,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.94284,
    "c": 0.14917,
    "h": 105.6
  },
  "luminance": 0.85043
}

Semantic roles & 50–950 ramp

primary
#FAF272
secondary
#3B44D6
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF272

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

Preview Lab → · Contrast checker → · Palette generator →

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