#CFA338#CFA338

#CFA338 is a light, vivid orange. Relative luminance 0.397; OKLCH L 73.7% C 0.131 H 85.6°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#CFA338
RGBrgb(207, 163, 56)
HSLhsl(43, 61%, 52%)
HSVhsv(43, 73%, 81%)
CMYKcmyk(0%, 21.3%, 72.9%, 18.8%)
CIE-LABlab(69.29, 5.64, 58.88)
CIE-LCHlch(69.29, 59.15, 84.53°)
OKLaboklab(73.74% 0.0101 0.1305)
OKLCHoklch(73.74% 0.131 85.6)
XYZxyz(39.5455, 39.7480, 9.3299)
Luminance0.3975 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA338 #3864CF
analogous
#CF5838 #CFA338 #AFCF38
triadic
#CFA338 #38CFA3 #A338CF
tetradic
#CFA338 #38CF58 #3864CF #CF38AF
square
#CFA338 #38CF58 #3864CF #CF38AF
split-complementary
#CFA338 #38AFCF #5838CF
monochromatic
#71581B #A37F27 #CFA338 #DBBA69 #E7D19B

Accessibility & contrast

On white

2.35
#CFA338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#CFA338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA338
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA338#FFFFFF#000000##000000
##CFA3381.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A228
Deuteranopia (green-blind)
#C1AE3D
Tritanopia (blue-blind)
#E0948D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cfa338;
/* rgb */ color: rgb(207, 163, 56);
/* oklch */ color: oklch(73.7% 0.131 85.6);
Tailwind
colors: {
  custom: {
    50: '#e2bd75',
    500: '#cfa338',
    950: '#000000',
  },
}
SCSS
$custom: #cfa338;
$custom-light: #e2bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa338",
  "rgb": {
    "r": 207,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 42.517,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73736,
    "c": 0.13088,
    "h": 85.6
  },
  "luminance": 0.39745
}

Semantic roles & 50–950 ramp

primary
#CFA338
secondary
#90A4D3
accent
#72E444
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CFA338

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

Preview Lab → · Contrast checker → · Palette generator →

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