#CFA239#CFA239

#CFA239 is a light, vivid orange. Relative luminance 0.394; OKLCH L 73.5% C 0.130 H 84.7°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#CFA239
RGBrgb(207, 162, 57)
HSLhsl(42, 61%, 52%)
HSVhsv(42, 72%, 81%)
CMYKcmyk(0%, 21.7%, 72.5%, 18.8%)
CIE-LABlab(69.04, 6.23, 58.23)
CIE-LCHlch(69.04, 58.56, 83.90°)
OKLaboklab(73.55% 0.0119 0.1293)
OKLCHoklch(73.55% 0.13 84.7)
XYZxyz(39.3934, 39.4042, 9.4010)
Luminance0.3940 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA239 #3966CF
analogous
#CF5739 #CFA239 #B1CF39
triadic
#CFA239 #39CFA2 #A239CF
tetradic
#CFA239 #39CF57 #3966CF #CF39B1
square
#CFA239 #39CF57 #3966CF #CF39B1
split-complementary
#CFA239 #39B1CF #5739CF
monochromatic
#72581C #A37E28 #CFA239 #DBB96A #E7D09C

Accessibility & contrast

On white

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

On black

8.88
#CFA239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA239
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA239#FFFFFF#000000##000000
##CFA2391.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A22A
Deuteranopia (green-blind)
#C1AD3E
Tritanopia (blue-blind)
#E0938D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cfa239;
/* rgb */ color: rgb(207, 162, 57);
/* oklch */ color: oklch(73.5% 0.130 84.7);
Tailwind
colors: {
  custom: {
    50: '#e2bd76',
    500: '#cfa239',
    950: '#000000',
  },
}
SCSS
$custom: #cfa239;
$custom-light: #e2bd76;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa239",
  "rgb": {
    "r": 207,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 42,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73545,
    "c": 0.12985,
    "h": 84.7
  },
  "luminance": 0.39401
}

Semantic roles & 50–950 ramp

primary
#CFA239
secondary
#91A5D3
accent
#74E444
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CFA239

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

Preview Lab → · Contrast checker → · Palette generator →

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