#C7C38E#C7C38E

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

Color values

HEX#C7C38E
RGBrgb(199, 195, 142)
HSLhsl(56, 34%, 67%)
HSVhsv(56, 29%, 78%)
CMYKcmyk(0%, 2%, 28.6%, 22%)
CIE-LABlab(77.95, -6.92, 27.21)
CIE-LCHlch(77.95, 28.08, 104.26°)
OKLaboklab(80.75% -0.0173 0.0683)
OKLCHoklch(80.75% 0.07 104.2)
XYZxyz(47.9510, 53.1262, 33.3143)
Luminance0.5313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C38E #8E92C7
analogous
#C7A78E #C7C38E #AFC78E
triadic
#C7C38E #8EC7C3 #C38EC7
tetradic
#C7C38E #8EC7A7 #8E92C7 #C78EAF
square
#C7C38E #8EC7A7 #8E92C7 #C78EAF
split-complementary
#C7C38E #8EAFC7 #A78EC7
monochromatic
#928D48 #B3AD65 #C7C38E #DBD9B7 #F0EEE0

Accessibility & contrast

On white

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

On black

11.63
#C7C38E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C38E
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C38E#FFFFFF#000000##000000
##C7C38E1.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBF8A
Deuteranopia (green-blind)
#CEC290
Tritanopia (blue-blind)
#CFBCB5
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c7c38e;
/* rgb */ color: rgb(199, 195, 142);
/* oklch */ color: oklch(80.7% 0.070 104.2);
Tailwind
colors: {
  custom: {
    50: '#d8d5af',
    500: '#c7c38e',
    950: '#000000',
  },
}
SCSS
$custom: #c7c38e;
$custom-light: #d8d5af;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c38e",
  "rgb": {
    "r": 199,
    "g": 195,
    "b": 142
  },
  "hsl": {
    "h": 55.789,
    "s": 33.728,
    "l": 66.863
  },
  "oklch": {
    "l": 0.80747,
    "c": 0.07043,
    "h": 104.2
  },
  "luminance": 0.53125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7C38E

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

Preview Lab → · Contrast checker → · Palette generator →

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