#C7CB8A#C7CB8A

#C7CB8A is a very light, moderate yellow. Relative luminance 0.567; OKLCH L 82.4% C 0.085 H 111.1°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#C7CB8A
RGBrgb(199, 203, 138)
HSLhsl(64, 38%, 67%)
HSVhsv(64, 32%, 80%)
CMYKcmyk(2%, 0%, 32%, 20.4%)
CIE-LABlab(80.00, -11.54, 32.04)
CIE-LCHlch(80.00, 34.05, 109.82°)
OKLaboklab(82.36% -0.0307 0.0796)
OKLCHoklch(82.36% 0.085 111.1)
XYZxyz(49.4968, 56.6896, 32.3746)
Luminance0.5669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB8A #8E8ACB
analogous
#CBAF8A #C7CB8A #A7CB8A
triadic
#C7CB8A #8AC7CB #CB8AC7
tetradic
#C7CB8A #8ACBAF #8E8ACB #CB8AA7
square
#C7CB8A #8ACBAF #8E8ACB #CB8AA7
split-complementary
#C7CB8A #8AA7CB #AF8ACB
monochromatic
#929743 #B3B860 #C7CB8A #DBDEB4 #F0F1DF

Accessibility & contrast

On white

1.70
#C7CB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#C7CB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CB8A
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CB8A#FFFFFF#000000##000000
##C7CB8A1.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C585
Deuteranopia (green-blind)
#D5C78D
Tritanopia (blue-blind)
#CFC3BA
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c7cb8a;
/* rgb */ color: rgb(199, 203, 138);
/* oklch */ color: oklch(82.4% 0.085 111.1);
Tailwind
colors: {
  custom: {
    50: '#d9daac',
    500: '#c7cb8a',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb8a;
$custom-light: #d9daac;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb8a",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 138
  },
  "hsl": {
    "h": 63.692,
    "s": 38.462,
    "l": 66.863
  },
  "oklch": {
    "l": 0.82355,
    "c": 0.08529,
    "h": 111.1
  },
  "luminance": 0.56689
}

Semantic roles & 50–950 ramp

primary
#C7CB8A
secondary
#5F5B9E
accent
#34B13C
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #C7CB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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