#F2D286#F2D286

#F2D286 is a very light, moderate orange. Relative luminance 0.667; OKLCH L 87.4% C 0.101 H 87.5°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#F2D286
RGBrgb(242, 210, 134)
HSLhsl(42, 81%, 74%)
HSVhsv(42, 45%, 95%)
CMYKcmyk(0%, 13.2%, 44.6%, 5.1%)
CIE-LABlab(85.35, 1.32, 41.69)
CIE-LCHlch(85.35, 41.72, 88.18°)
OKLaboklab(87.43% 0.0045 0.1013)
OKLCHoklch(87.43% 0.101 87.5)
XYZxyz(63.9696, 66.6945, 32.0534)
Luminance0.6669 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D286 #86A6F2
analogous
#F29C86 #F2D286 #DCF286
triadic
#F2D286 #86F2D2 #D286F2
tetradic
#F2D286 #86F29C #86A6F2 #F286DC
square
#F2D286 #86F29C #86A6F2 #F286DC
split-complementary
#F2D286 #86DCF2 #9C86F2
monochromatic
#E5A819 #ECBD4F #F2D286 #F8E7BD #FCF5E3

Accessibility & contrast

On white

1.46
#F2D286 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#F2D286 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D286
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D286#FFFFFF#000000##000000
##F2D2861.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D080
Deuteranopia (green-blind)
#EAD988
Tritanopia (blue-blind)
#FFC6BF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d286;
/* rgb */ color: rgb(242, 210, 134);
/* oklch */ color: oklch(87.4% 0.101 87.5);
Tailwind
colors: {
  custom: {
    50: '#f8dfaa',
    500: '#f2d286',
    950: '#000000',
  },
}
SCSS
$custom: #f2d286;
$custom-light: #f8dfaa;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d286",
  "rgb": {
    "r": 242,
    "g": 210,
    "b": 134
  },
  "hsl": {
    "h": 42.222,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.87427,
    "c": 0.10144,
    "h": 87.5
  },
  "luminance": 0.66692
}

Semantic roles & 50–950 ramp

primary
#F2D286
secondary
#4E74CE
accent
#47DD09
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F2D286

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

Preview Lab → · Contrast checker → · Palette generator →

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