#CFA938#CFA938

#CFA938 is a light, vivid orange. Relative luminance 0.419; OKLCH L 74.9% C 0.134 H 89.6°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#CFA938
RGBrgb(207, 169, 56)
HSLhsl(45, 61%, 52%)
HSVhsv(45, 73%, 81%)
CMYKcmyk(0%, 18.4%, 72.9%, 18.8%)
CIE-LABlab(70.82, 2.44, 60.39)
CIE-LCHlch(70.82, 60.44, 87.69°)
OKLaboklab(74.94% 0.0009 0.1337)
OKLCHoklch(74.94% 0.134 89.6)
XYZxyz(40.6362, 41.9294, 9.6935)
Luminance0.4193 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA938 #385ECF
analogous
#CF5E38 #CFA938 #AACF38
triadic
#CFA938 #38CFA9 #A938CF
tetradic
#CFA938 #38CF5E #385ECF #CF38AA
square
#CFA938 #38CF5E #385ECF #CF38AA
split-complementary
#CFA938 #38AACF #5E38CF
monochromatic
#715C1B #A38427 #CFA938 #DBBE69 #E7D49B

Accessibility & contrast

On white

2.24
#CFA938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#CFA938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA938
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA938#FFFFFF#000000##000000
##CFA9381.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA727
Deuteranopia (green-blind)
#C6B23E
Tritanopia (blue-blind)
#E09B92
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cfa938;
/* rgb */ color: rgb(207, 169, 56);
/* oklch */ color: oklch(74.9% 0.134 89.6);
Tailwind
colors: {
  custom: {
    50: '#e2c276',
    500: '#cfa938',
    950: '#000000',
  },
}
SCSS
$custom: #cfa938;
$custom-light: #e2c276;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa938",
  "rgb": {
    "r": 207,
    "g": 169,
    "b": 56
  },
  "hsl": {
    "h": 44.901,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74943,
    "c": 0.1337,
    "h": 89.6
  },
  "luminance": 0.41927
}

Semantic roles & 50–950 ramp

primary
#CFA938
secondary
#90A1D3
accent
#6CE444
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CFA938

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

Preview Lab → · Contrast checker → · Palette generator →

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