#F2C038#F2C038

#F2C038 is a very light, vivid orange. Relative luminance 0.569; OKLCH L 83.1% C 0.154 H 87.2°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#F2C038
RGBrgb(242, 192, 56)
HSLhsl(44, 88%, 58%)
HSVhsv(44, 77%, 95%)
CMYKcmyk(0%, 20.7%, 76.9%, 5.1%)
CIE-LABlab(80.10, 5.39, 70.46)
CIE-LCHlch(80.10, 70.66, 85.63°)
OKLaboklab(83.05% 0.0074 0.1536)
OKLCHoklch(83.05% 0.154 87.2)
XYZxyz(56.1849, 56.8659, 11.7576)
Luminance0.5686 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2C038 #386AF2
analogous
#F26338 #F2C038 #C7F238
triadic
#F2C038 #38F2C0 #C038F2
tetradic
#F2C038 #38F263 #386AF2 #F238C7
square
#F2C038 #38F263 #386AF2 #F238C7
split-complementary
#F2C038 #38C7F2 #6338F2
monochromatic
#A57B0B #DEA60F #F2C038 #F6D271 #FAE4AB

Accessibility & contrast

On white

1.70
#F2C038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#F2C038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2C038
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2C038#FFFFFF#000000##000000
##F2C0381.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF1E
Deuteranopia (green-blind)
#E3CC3F
Tritanopia (blue-blind)
#FFAFA6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #f2c038;
/* rgb */ color: rgb(242, 192, 56);
/* oklch */ color: oklch(83.1% 0.154 87.2);
Tailwind
colors: {
  custom: {
    50: '#fbd279',
    500: '#f2c038',
    950: '#000000',
  },
}
SCSS
$custom: #f2c038;
$custom-light: #fbd279;
$custom-dark: #000000;
JSON
{
  "hex": "#f2c038",
  "rgb": {
    "r": 242,
    "g": 192,
    "b": 56
  },
  "hsl": {
    "h": 43.871,
    "s": 87.736,
    "l": 58.431
  },
  "oklch": {
    "l": 0.83051,
    "c": 0.15377,
    "h": 87.2
  },
  "luminance": 0.56862
}

Semantic roles & 50–950 ramp

primary
#F2C038
secondary
#284AA6
accent
#63FE2A
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140A
muted
#86837D

Preview Lab

Preview with #F2C038

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

Preview Lab → · Contrast checker → · Palette generator →

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