#C7C38D#C7C38D

#C7C38D is a light, moderate yellow. Relative luminance 0.531; OKLCH L 80.7% C 0.072 H 104.3°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#C7C38D
RGBrgb(199, 195, 141)
HSLhsl(56, 34%, 67%)
HSVhsv(56, 29%, 78%)
CMYKcmyk(0%, 2%, 29.1%, 22%)
CIE-LABlab(77.93, -7.05, 27.72)
CIE-LCHlch(77.93, 28.60, 104.27°)
OKLaboklab(80.73% -0.0177 0.0694)
OKLCHoklch(80.73% 0.072 104.3)
XYZxyz(47.8763, 53.0963, 32.9207)
Luminance0.5310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C38D #8D91C7
analogous
#C7A68D #C7C38D #AEC78D
triadic
#C7C38D #8DC7C3 #C38DC7
tetradic
#C7C38D #8DC7A6 #8D91C7 #C78DAE
square
#C7C38D #8DC7A6 #8D91C7 #C78DAE
split-complementary
#C7C38D #8DAEC7 #A68DC7
monochromatic
#928D48 #B3AD64 #C7C38D #DBD9B6 #EFEEDF

Accessibility & contrast

On white

1.81
#C7C38D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#C7C38D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C38D
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C38D#FFFFFF#000000##000000
##C7C38D1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBF89
Deuteranopia (green-blind)
#CEC28F
Tritanopia (blue-blind)
#D0BCB5
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c7c38d;
/* rgb */ color: rgb(199, 195, 141);
/* oklch */ color: oklch(80.7% 0.072 104.3);
Tailwind
colors: {
  custom: {
    50: '#d8d5ae',
    500: '#c7c38d',
    950: '#000000',
  },
}
SCSS
$custom: #c7c38d;
$custom-light: #d8d5ae;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c38d",
  "rgb": {
    "r": 199,
    "g": 195,
    "b": 141
  },
  "hsl": {
    "h": 55.862,
    "s": 34.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.80728,
    "c": 0.07167,
    "h": 104.3
  },
  "luminance": 0.53095
}

Semantic roles & 50–950 ramp

primary
#C7C38D
secondary
#5E639A
accent
#41AD39
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#141410
muted
#838381

Preview Lab

Preview with #C7C38D

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

Preview Lab → · Contrast checker → · Palette generator →

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