#CFB35A#CFB35A

#CFB35A is a light, moderate yellow. Relative luminance 0.462; OKLCH L 77.3% C 0.114 H 92.1°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#CFB35A
RGBrgb(207, 179, 90)
HSLhsl(46, 55%, 58%)
HSVhsv(46, 57%, 81%)
CMYKcmyk(0%, 13.5%, 56.5%, 18.8%)
CIE-LABlab(73.70, -0.75, 48.48)
CIE-LCHlch(73.70, 48.48, 90.89°)
OKLaboklab(77.31% -0.0042 0.1134)
OKLCHoklch(77.31% 0.114 92.1)
XYZxyz(43.6995, 46.2459, 16.2954)
Luminance0.4624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB35A #5A76CF
analogous
#CF785A #CFB35A #B0CF5A
triadic
#CFB35A #5ACFB3 #B35ACF
tetradic
#CFB35A #5ACF78 #5A76CF #CF5AB0
square
#CFB35A #5ACF78 #5A76CF #CF5AB0
split-complementary
#CFB35A #5AB0CF #785ACF
monochromatic
#877027 #B79835 #CFB35A #DDC989 #EBDFB9

Accessibility & contrast

On white

2.05
#CFB35A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#CFB35A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB35A
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB35A#FFFFFF#000000##000000
##CFB35A1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B052
Deuteranopia (green-blind)
#CAB95E
Tritanopia (blue-blind)
#DEA79F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfb35a;
/* rgb */ color: rgb(207, 179, 90);
/* oklch */ color: oklch(77.3% 0.114 92.1);
Tailwind
colors: {
  custom: {
    50: '#e0c98b',
    500: '#cfb35a',
    950: '#000000',
  },
}
SCSS
$custom: #cfb35a;
$custom-light: #e0c98b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb35a",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 90
  },
  "hsl": {
    "h": 45.641,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.77313,
    "c": 0.11352,
    "h": 92.1
  },
  "luminance": 0.46244
}

Semantic roles & 50–950 ramp

primary
#CFB35A
secondary
#ABB6DA
accent
#6DDE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB35A

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

Preview Lab → · Contrast checker → · Palette generator →

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