#CFA242#CFA242

#CFA242 is a light, vivid orange. Relative luminance 0.395; OKLCH L 73.6% C 0.124 H 83.3°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#CFA242
RGBrgb(207, 162, 66)
HSLhsl(41, 59%, 54%)
HSVhsv(41, 68%, 81%)
CMYKcmyk(0%, 21.7%, 68.1%, 18.8%)
CIE-LABlab(69.11, 6.69, 54.48)
CIE-LCHlch(69.11, 54.89, 83.00°)
OKLaboklab(73.62% 0.0144 0.123)
OKLCHoklch(73.62% 0.124 83.3)
XYZxyz(39.6381, 39.5021, 10.6901)
Luminance0.3950 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA242 #426FCF
analogous
#CF5B42 #CFA242 #B5CF42
triadic
#CFA242 #42CFA2 #A242CF
tetradic
#CFA242 #42CF5B #426FCF #CF42B5
square
#CFA242 #42CF5B #426FCF #CF42B5
split-complementary
#CFA242 #42B5CF #5B42CF
monochromatic
#785C1F #A9812B #CFA242 #DBBA73 #E8D2A4

Accessibility & contrast

On white

2.36
#CFA242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#CFA242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA242
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA242#FFFFFF#000000##000000
##CFA2421.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A236
Deuteranopia (green-blind)
#C0AD46
Tritanopia (blue-blind)
#E0948E
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cfa242;
/* rgb */ color: rgb(207, 162, 66);
/* oklch */ color: oklch(73.6% 0.124 83.3);
Tailwind
colors: {
  custom: {
    50: '#e2bd7b',
    500: '#cfa242',
    950: '#000000',
  },
}
SCSS
$custom: #cfa242;
$custom-light: #e2bd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa242",
  "rgb": {
    "r": 207,
    "g": 162,
    "b": 66
  },
  "hsl": {
    "h": 40.851,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.73622,
    "c": 0.12383,
    "h": 83.3
  },
  "luminance": 0.39499
}

Semantic roles & 50–950 ramp

primary
#CFA242
secondary
#98ABD5
accent
#77E345
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CFA242

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

Preview Lab → · Contrast checker → · Palette generator →

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