#C39E2F#C39E2F

#C39E2F is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.4% C 0.130 H 89.5°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#C39E2F
RGBrgb(195, 158, 47)
HSLhsl(45, 61%, 47%)
HSVhsv(45, 76%, 76%)
CMYKcmyk(0%, 19%, 75.9%, 23.5%)
CIE-LABlab(66.72, 2.67, 59.45)
CIE-LCHlch(66.72, 59.51, 87.43°)
OKLaboklab(71.41% 0.0012 0.1304)
OKLCHoklch(71.41% 0.13 89.5)
XYZxyz(35.2477, 36.2633, 7.8318)
Luminance0.3626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C39E2F #2F54C3
analogous
#C3542F #C39E2F #9EC32F
triadic
#C39E2F #2FC39E #9E2FC3
tetradic
#C39E2F #2FC354 #2F54C3 #C32F9E
square
#C39E2F #2FC354 #2F54C3 #C32F9E
split-complementary
#C39E2F #2F9EC3 #542FC3
monochromatic
#604E17 #927623 #C39E2F #D7B758 #E3CC8A

Accessibility & contrast

On white

2.54
#C39E2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#C39E2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C39E2F
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C39E2F#FFFFFF#000000##000000
##C39E2F1.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C1C
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#D39088
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c39e2f;
/* rgb */ color: rgb(195, 158, 47);
/* oklch */ color: oklch(71.4% 0.130 89.5);
Tailwind
colors: {
  custom: {
    50: '#daba70',
    500: '#c39e2f',
    950: '#000000',
  },
}
SCSS
$custom: #c39e2f;
$custom-light: #daba70;
$custom-dark: #000000;
JSON
{
  "hex": "#c39e2f",
  "rgb": {
    "r": 195,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 45,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71415,
    "c": 0.13043,
    "h": 89.5
  },
  "luminance": 0.36261
}

Semantic roles & 50–950 ramp

primary
#C39E2F
secondary
#8194CD
accent
#6CE444
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #C39E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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